boucle python un certain nombre de fois
# To loop n times, use loop over range(n)
for i in range(n):
# Do something
SkelliBoi
# To loop n times, use loop over range(n)
for i in range(n):
# Do something
number1 = 0
number2 = 0
number3 = 0
for i in (number1, number2, number3):
i = int(input("Enter number: "))
It can be achieved in variety of ways:
Easiest:
for i in range(3):
print("Hello World")
n=1
m=2
for i in (n,m):
print(i)