Else Error With Invalid Syntax

I Am Getting This Error With The Function “else” Were It Says “Invalid Syntax” Any Help?

Check your indentation for the if (and for the following code as well).

Edit: You can also check your code against the code in the article. Remember correct indentation is important with Python.

2 Likes

Thank you This Fixed My Problem!