0
Else and elif stament is not working
When ever I try to enter the else and elif statement Python give me result invalid syntax.
4 Respuestas
+ 3
Make sure indentation is good, it's one common error trigger.
+ 1
Show your code,so we can see what's wrong.
0
That's not the problem, check your variables and operations
- 1
elif abd if takes an argument and ends with colon( : )
else dont take any argument and ends with colon( : )
check your indentation also..
if condition1 :
dance
elif condition2 :
if condition3:
sing
else :
draw
else :
eat