Political Science, asked by diljotsinghdhillon, 11 months ago

write a Python program to print hello five times using a loop​

Answers

Answered by altaf34
4

Explanation:

i=0

while i<5:

print("your name")

i+=1

#indent yourself

Answered by Anonymous
4

Answer:

Below we print out the statement, "hello world" 5 times. Since i starts with 0, the statement prints out 5 times. i goes from 0 to 1 to 2 to 3 to 4. In the range() function, the number you specify is exclusive, meaning it is not included in the loop.

HOPE it helps

Follow me ❤️

Similar questions