lundi 18 septembre 2017

Why is my if not working? (python) [on hold]

I think i'm missing something pretty obvious

while True:
    thingstodo()

    if (i>0):
        something()
        i=i+1
    if i==0:
        something()
        i=i+1
if(something<something_else):
    break

The if that is not working is the i>0 statement

Aucun commentaire:

Enregistrer un commentaire