Computer Science, asked by dambarukhilla7, 1 day ago

write a program to point
string python In 10 times​

Answers

Answered by purveshKolhe
1

\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

Similar questions