View Single Post
Old 05-17-2006, 01:20 AM   #3 (permalink)
jaeusm
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default

I don't know python, but to answer your question about mod:
x mod y returns the remainder (not the quotient!) of x/y (that is, x divided by y). The modulus operator in C is the percentage sign, %.
jaeusm is offline