mercredi 20 juillet 2016

Conditionals between multiple variables

Is there any way in python to do any thing like

if var1 < [var2 thru var3] < var4

where any variable that is in between var2 and var3 that is also in between var1 and var4 will trigger the if? I could be missing something obvious here but thanks in advance

Aucun commentaire:

Enregistrer un commentaire