0
Programmers can someone help me ?
I have python version 3.8 and when i type etc. "Num=5 If num==5: Print ("number is 5") Else: There is syntax error :invalid syntax on else i tried to reinstall still same Thanks in advance
6 Antworten
+ 1
Why you have added " before num=5
0
Your indentation was absolutely wrong..
- 1
Error is on else:
- 1
I solved it myself
- 1
Gotta erase space before else
Instead of default:
Else:
You need to
Else:
- 2
Thanks anyways