What is the MISTAKE ??? Can someone plz help me out what the mistake is. It is surely in the "else" statement but WHAT? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the MISTAKE ??? Can someone plz help me out what the mistake is. It is surely in the "else" statement but WHAT?

https://code.sololearn.com/cq7ji73GpI9E/?ref=app. Please tell me why isn't the code working

30th Apr 2018, 4:02 PM
Anubhav Gupta
Anubhav Gupta - avatar
6 Answers
0
you need to close brackets of if statement before starting else 1. line no 16 add a closing bracket 2. remove any one brace from the following lines
30th Apr 2018, 4:11 PM
‎ ‏‏‎Anonymous Guy
+ 1
Please help someone
30th Apr 2018, 4:03 PM
Anubhav Gupta
Anubhav Gupta - avatar
0
the error message is clear : bad {}. look at your if else statement....
30th Apr 2018, 4:08 PM
VcC
VcC - avatar
0
Sorry I didn't get it
30th Apr 2018, 4:10 PM
Anubhav Gupta
Anubhav Gupta - avatar
0
Oh thanks a lot.....that was so silly , I am a mere bigginer only so..... thanks
30th Apr 2018, 4:16 PM
Anubhav Gupta
Anubhav Gupta - avatar
0
I did not see your original code were thing were not ok...
1st May 2018, 1:09 AM
Ruben F. Villanueva Viana
Ruben F. Villanueva Viana - avatar