May-11-2021, 09:15 PM
Please edit your post and put your python code in appropriate tags (use the python button above the editing pane). It is probably that the
elif
statement doesn't have the appropriate indentation to line up with the correct if
, but that's too hard to tell without the formatting.