write a program to point
string python In 10 times
Answers
Answered by
1
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