mercredi 30 octobre 2019

How to use multiple conditions in an if statement

elif(mud == 1 and game_select == 'Mud + Fire' or game_select == 'Fire + Mud'):
        do something

The conditions that check game_select both work, but even if mud != 1 it still runs. How can i fix this?

Aucun commentaire:

Enregistrer un commentaire