Jordan Esquivel @jordanesquivel
Solución sencilla: Ponga el number += 1 después del while y listo.
numero = 0 while numero < 10: numero += 1 if numero == 5: print(f"Es {numero}") continue print(numero) else: print("El ciclo terminó")
Escribe una respuesta