[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On Wednesday, February 12, 2014 6:36:17 AM UTC+5:30, Scott W Dunning wrote: > I just have a simple question. I don't understand why 1%10 = 1? This is not really about python. See http://en.wikipedia.org/wiki/Euclidean_division Particularly the examples section and note that when you divide a by b you get a quotient -- q and remainder -- r. In your case a is 1 b is 10. Now see that wikipedia page

- Prev by Date:
**Simple % question** - Next by Date:
**Python programming** - Previous by thread:
**Simple % question** - Next by thread:
**Simple % question** - Index(es):