The important thing to understand about integer division is that it is rounded down, which for negative numbers is away from zero.
- 1. Instant Hacking: The Basics
- from Beginning Python: From Novice to Professional, 3rd Edition
- Publisher: Apress
- Released: March 2017
remainder is always positive
Share this highlighthttp://www.safaribooksonline.com/a/beginning-python-from/12243774/