+ 1
What is wrong with the first elif ?
7 odpowiedzi
+ 1
The print statement above the if wasn't indented.
https://code.sololearn.com/cQ55axA63s3i/?ref=app
+ 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':
+ 1
Thank you Arnesh / Bouderbala / Kiibo. Now I can see my error 🙏
0
Thank you for the observation 𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 I see the error, just print the values and don't make the operation correctly