find all multiplicands and multipliers for a number
no.email at nospam.invalid
Sat Apr 11 19:02:01 CEST 2015
Dennis Lee Bieber <wlfraed at ix.netcom.com> writes:
>>Oops, you have a float in there, how did that happen?
> Off the top of my head -- I'd suspect an older version of Python that
> promoted 2**111 to a double, rather than to a Long-Int.
No he's being a wise guy. The /= returned a float result in Python 3
after the first factor was found. I noticed the /= after posting, but I
figured the print statement would trigger a syntax error in Python 3.
Looks like he did a partial conversion.
More information about the Python-list