dimanche 30 septembre 2018

Python: 2 'and' in a statement [on hold]

I am using an if statement which has 2 'and's in it, is this allowed? I keep getting a syntax error so I'm wondering if this is the issue.

Ex: if VARIABLE = 1 and VARIABLE_2 = 2 and VARIABLE_3 = 3:
return RESULT

Aucun commentaire:

Enregistrer un commentaire