Print "Hello World!" ten times without typing (or pasting) the print function more than once

n=0for n in range(0,10): print('Hellow World!') n=n+1 #or n+=1#

Related Python Mentoring answers

All answers ▸

Give an example of a FOR loop


Why are negative indexes used?


Create an algorithm that can be used as a guessing game. Make sure to import random at the start.


How do I check if a number is prime using a python program?