0
Unexpected error while parsing? Can someone please explain me my error?
Hello, I started learning python today and I made a little program but when I execute it it writes an error message, please help me. https://code.sololearn.com/cBwy2396ZDPO/?ref=app
6 ответов
+ 3
There's a ) missing in line 7
+ 3
Yes, OP edited it. Originally, there was a closing bracket missing in a print statement
+ 1
include the open and closing brackets after the if statement and on the elif then your code runs just fine
+ 1
noted, i noticed there isnt an error in the code or did it get modified????
0
Give proper indentation in your code after if and elif statements every line should be indented same otherwise it will throw indentation error so give one tab in each and everyline...
Same would remain in loop , function , class etc.
However one or more spaces works fine in sololearn code playground... 😄😄