On 7/16/10 12:30 PM, bart.c wrote:

they have to be exact. So if you wanted to hardcode 1000! for some
reason, you'd
need some 2568 digits which is a little awkward on one line.

No, only 20 digits
>>> math.factorial(1000)
402387260077093773543702433923003985719374 ...

Most big ints people want to work with can be encoded similarly.

--
Terry Jan Reedy

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to