+ 1
8th Jul 2020, 7:07 AM
Gustavo Aguilera
Gustavo Aguilera - avatar
7 odpowiedzi
+ 1
The print statement above the if wasn't indented. https://code.sololearn.com/cQ55axA63s3i/?ref=app
8th Jul 2020, 7:14 AM
Arnesh
Arnesh - avatar
+ 1
If you look closely in your code you will notice that th print function before elif needs a tab and that should fix it and yeah you made this mistake before every elif This one: print("El resultado de {} y {} es: ".format(n_suma1, n_suma2), n_suma1+n_suma2) elif opcion == '2':
8th Jul 2020, 7:14 AM
Bouderbala Amine
Bouderbala Amine - avatar
+ 1
Thank you Arnesh / Bouderbala / Kiibo. Now I can see my error 🙏
8th Jul 2020, 7:24 AM
Gustavo Aguilera
Gustavo Aguilera - avatar
0
Thank you for the observation 𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 I see the error, just print the values and don't make the operation correctly
8th Jul 2020, 7:31 AM
Gustavo Aguilera
Gustavo Aguilera - avatar