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