1.

Write a program to pointstring python In 10 times​

Answer»

\huge{\green{\boxed{\mathfrak{\red{ answer :}}}}}

Python::

string = INPUT()

for i in range(10):

    print(string)

LOGIC::

==> We took a string as input in the VARIABLE named 'string'.

==> Then we ran a for loop in a range until 10 and printed string.

==> Since loop was ran 10 times, string gets printed 10 times



Discussion

No Comment Found