Friends what is my mistake? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Friends what is my mistake?

I'm a newbie, do not judge strictly) I do the calculator as it is written here in the course, but it gives an error! Help me figure out what I wrote wrong? https://code.sololearn.com/cuLvC2Jwrg9Y/?ref=app

9th Apr 2020, 7:59 AM
Виктор
Виктор - avatar
1 Answer
0
Like ~ swim ~ said you have to print your result, and also the last line would give an error because result isn't defined in the else statement.(should be omitted)
9th Apr 2020, 9:21 AM
Justus
Justus - avatar