Modul (%) in python not like in C?

Dotan Cohen dotancohen at
Sun Sep 9 21:01:11 CEST 2007

FIrst of all, how is the % symbol (as in 70%6=4) called in English?

Second, in Turbo C -111%10=-1 however in python -111%10=9. Is one or
the other in error? Is this a known gotcha? I tried to google the
subject however one cannot google the symbol %. Thanks in advance.

Dotan Cohen



A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

More information about the Python-list mailing list