while True: print ("options:") print ("Enter 'add' to add numbers") print ("Enter 'quit' to end program") u | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Resposta
+ 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