Can someone explain why I am getting an invalid syntax error from Python\'s interpretor while formulating this simple if...else statement? I don\'t add any tabs myself I sim
Else needs to be vertically aligned. Identation is playing a key role in Python. I was getting the same syntax error while using else. Make sure you indent your code properly