Multiples of a number
Ivan Shevanski
darkpaladin79 at gmail.com
Sat Nov 5 19:21:30 EST 2005
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20051105/271886f0/attachment.html>
More information about the Python-list
mailing list