x = 53
w = 192
for a in range ( x, (x+192) ):
    print (a-x)/w

the problem is at (a-x)/w

it's supposed to return a ratio between x and w, yet it 0 all the time.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to