It shows syntax error in else: | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

It shows syntax error in else:

3rd Dec 2016, 12:51 PM
Divanshu
Divanshu - avatar
2 Answers
+ 3
how are we supposed to tell the error without seeing the code. send the code
3rd Dec 2016, 2:42 PM
Midhun Mathew
+ 1
Send your code! Syntax error could be a missing ')' or ' or " or = or or '}' or '(' or '{' if you don't post your code when asking here, we can't help you! —————————————————————— TIP: make sure your code is indented #### WRONG ##### print("This is wrong" def function(: return "This is wrong" #### CORRECT #### print("This is correct") def function(): return "this is correct"
3rd Dec 2016, 1:11 PM
Nedim Kanat
Nedim Kanat - avatar