A little more: decimal_portion

Seymore4Head Seymore4Head at Hotmail.invalid
Sat Oct 4 11:38:52 EDT 2014


On Sun, 5 Oct 2014 01:24:40 +1000, Chris Angelico <rosuav at gmail.com>
wrote:

>On Sun, Oct 5, 2014 at 1:16 AM, Seymore4Head
><Seymore4Head at hotmail.invalid> wrote:
>> I did.  I included a screenshot of me doing just that.
>> The formula seems to work in the shell, but does not work as a
>> function, or I am missing something subtle again.
>
>Ah, I don't generally click screenshots.
>
>Have the function print out exactly what it's doing at each step. See
>how that compares to your hand-worked version. You'll see the problem.
>
>ChrisA

That worked.
Thanks



More information about the Python-list mailing list