dimanche 29 mars 2015

IF Statement regarding ranges (python)

first time post. I've started programming and I can't seem to answer a question. I want to make an if statement on a variable number.


Can I use range(0,15) in an if statement to see if the number is within range? If so, how? Can't seem to find any info on this specific topic


TIA! :)


Aucun commentaire:

Enregistrer un commentaire