Modul (%) in python not like in C?
Dotan Cohen
dotancohen at gmail.com
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
http://what-is-what.com
http://gibberish.co.il
--
א-ב-ג-ד-ה-ו-ז-ח-ט
י-ך-כ-ל-ם-מ-ן-נ-ס
ע-ף-פ-ץ-צ-ק-ר-ש-ת
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