Python 2.7.6 help with modules

Chris Angelico rosuav at
Sat Feb 8 06:58:05 CET 2014

On Sat, Feb 8, 2014 at 4:55 PM, Scott W Dunning <swdunning at> wrote:
> On Feb 7, 2014, at 10:10 PM, Chris Angelico <rosuav at> wrote:
> You should be able to get this to the point of writing out five
> separate values, which are the original five digits. Each one is worth
> 10 of the previous value. At every step, do both halves of the
> division.
> What do you mean by at each step do both halves of the division?

Taking the quotient (with the / operator) and the remainder (with %).
You'll find it's clearer to start by doing distinct, separate
operations, where each one is both division and modulo.


More information about the Python-list mailing list