On Sat, Feb 8, 2014 at 4:55 PM, Scott W Dunning <swdunn...@cox.net> wrote: > On Feb 7, 2014, at 10:10 PM, Chris Angelico <ros...@gmail.com> 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. ChrisA -- https://mail.python.org/mailman/listinfo/python-list