I'll just give you some examples and you can use them to fix your code.
Where i put "#Code", just imagine there is code there and statements where it says "#Statement"
#Here is an if statement if #Statement #Code elif #Statement #Code #Code - this code here ends the statement. The if statement will not look past this for anything else #Python thinks this else is just here with no if to relate toI hope this helps you see what's wrong with your code
Where i put "#Code", just imagine there is code there and statements where it says "#Statement"