jeudi 4 février 2016

Simple If Statement issue with Python

Can you guys point out the problem when using "if" repetitively in the codes, for example:

if x == 2:
    do something
if x == 3:
    do something
if x == 4:
    do something

Thanks

Aucun commentaire:

Enregistrer un commentaire