I've searched on google for a bit but I can't seem to find a way to get multiples of a number. . .For instance what would I do if I wanted something to happen every time x reached a multiple of 100 in this sample code:

x = 0
while x < 2000:
     x += 1


Thanks in advance,

-Ivan
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to