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 are recursive functions and when should they be used?


How can you take a list of numbers and add 3 to every number in the list using only one line of code?


Whats is the difference between a function and a procedure?


Which function is ran when an object is instantiated?