while True: print ("options:") print ("Enter 'add' to add numbers") print ("Enter 'quit' to end program") u | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

while True: print ("options:") print ("Enter 'add' to add numbers") print ("Enter 'quit' to end program") u

Please I have been getting EOF error, can any one tell me what I did wrong

11th Dec 2016, 4:16 PM
otokiniye
otokiniye - avatar
1 Antwort
+ 1
No hay una condición que te saque del ciclo while, tu ciclo se repite infinitamente. cambia la condición del ciclo.
11th Dec 2016, 5:35 PM
Juan Pablo Millán Sotelo
Juan Pablo Millán Sotelo - avatar