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 ▸

What's the difference between a local and a global variable?


What would output this code? print(hello world)


Whats the output of "for i in "hello world": print(i)" and why/how is this achieved


Create a program that generates prime numbers between two integer boundareis