mardi 8 août 2017

How to make a string that will increase until it reaches to 15 [on hold]

x = 5
while(x < 15):
     x + 1

When l start it, my program is spamming 6 without stopping. But l want it to add 1 to x until x reaches to 15.(i am new to python)

Aucun commentaire:

Enregistrer un commentaire