¿Por que no funciona? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
23rd Sep 2019, 1:30 PM
Gerard Vancells
2 Answers
+ 1
Las líneas 13-36 no forman parte del ciclo "while". Agrégales un nivel de indentación. while True : print ( "Options: ") print ( "Enter 'add' to add two numbers") print ( "Enter 'subtract' to subtract two numbers") print ( "Enter 'multiply' to multiply two numbers") print ( "Enter 'divide' to divide two numbers") print ( "Enter 'quit' to end the program") user_input = input(":") # A partir de aquí agrega un nivel de indentación a todas las líneas if user_input == "quit": break ...
23rd Sep 2019, 5:06 PM
Diego
Diego - avatar
+ 1
Muchas gracias, estoy empezando y tu ayuda ha sido fantastica, te lo agradezco mucho porque me cuesta bastante espero no decaer
23rd Sep 2019, 7:41 PM
Gerard Vancells