How to "wow" someone new to Python

Chris Angelico rosuav at
Wed Jan 21 20:06:10 CET 2015

On Thu, Jan 22, 2015 at 5:20 AM, Irmen de Jong <irmen.NOSPAM at> wrote:
> On 21-1-2015 18:59, Steve Hayes wrote:
>> 3. When I started to look at it, I found that strings could be any length and
>> were not limited to swomething arbitrary, like 256 characters.
> Even more fun is that Python's primitive integer type (longs for older Python versions)
> has no arbitrary limitation either.
> That amazed me at the time I discovered python :)

I hadn't worked with length-limited strings in basically forever
(technically BASIC has a length limit, but I never ran into it; and I
never did much with Pascal), but you're right, arbitrary-precision
integers would have impressed me a lot more if I hadn't first known
REXX. So... is there a way to show that off efficiently? Normally, any
calculation that goes beyond 2**32 has already gone way beyond most
humans' ability to hold the numbers in their heads.


More information about the Python-list mailing list