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 ▸

Explain the difference between local and global variables


Manually implement a function that finds the smallest value in a list of integers and print it.


Write a program that computes the sum of all numbers up to a input number n


Firstly, my question is not Python related, but maths A-level related. I don't know how to change that in my profile but I would like to only tutor maths GCSE and potentially A-level. My question: Integrate sin(x)^3 over x=0 and x=pi/2.