Python Invalid syntax in elif

Your elif is not indented properly…it should be indented the same way if is indented. Seeing the else block, it seems that you have by mistake indented the first if. Remember that elif/else should be preceded by an if always. EDIT: corresponding to the edited question details: Why is the second else there? It isn’t preceded by an if. I feel you need to get your conditions organized properly before … Read more