Question about function failing with large number

Chris Angelico rosuav at gmail.com
Tue Aug 13 13:01:39 EDT 2013


On Tue, Aug 13, 2013 at 4:33 PM, MRAB <python at mrabarnett.plus.com> wrote:
> Here's a way to calculate the integer square root:

Yes, but the actual value of the square root isn't needed. All that's
needed is to stop the loop once the sqrt is reached.

ChrisA



More information about the Python-list mailing list