When ever i type elif or else it show syntax error | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

When ever i type elif or else it show syntax error

2nd May 2018, 4:37 PM
Ravi Sharma
Ravi Sharma - avatar
6 Respostas
+ 2
Let's see the code
2nd May 2018, 4:43 PM
cyk
cyk - avatar
+ 2
I changed my comment. Look at the code I posted.
2nd May 2018, 4:52 PM
cyk
cyk - avatar
0
x=4 y=5 x>y true else: false
2nd May 2018, 4:46 PM
Ravi Sharma
Ravi Sharma - avatar
0
but code look some thing like that but the else or elif i enter it show tha syntax error
2nd May 2018, 4:46 PM
Ravi Sharma
Ravi Sharma - avatar
0
yeah but when run the code its show that else is not define or sytax error
2nd May 2018, 4:49 PM
Ravi Sharma
Ravi Sharma - avatar