- 1
else
it always says that else invalid syntax???
4 Answers
0
What language? Your question is too vague.
https://www.sololearn.com/discuss/1316935/?ref=app
0
puthon 3.7.2
>>>> x = 4
>>>>if x == 5:
print("Yes")
>>>>else:
print("No")
SyntaxError: invalid syntax
I already understood, but thanks
0
Looks good. I tried it and got no error. Is that the complete code?
0
Yes its all. my wrong is that i wrote else in a new line :/