¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
how can i print 2 for 20 times in python's while loop
2 Respuestas
0
x = 20
while x>0:
print("2")
x=x-1
0
Like this:
x = 0
while x < 20:
print("2")
x+=1