On Thu, Feb 19, 2015 at 11:05 AM, Ben Finney <ben+pyt...@benfinney.id.au> wrote: >> Hmmm. I'm not sure I believe that. Can you enumerate all of the items >> and see if there actually is an infinite number of them? I'll wait... > > A mathematician should know better: you don't need to enumerate to > demonstrate a collection is infinite.
But you may have to demonstrate a 1:1 correspondence with counting numbers, to prove that it's countably infinite. And that's pretty much what the enumerate() function does, so that's enumeration.... right? Bizarre pseudo-logic for the win. ChrisA -- https://mail.python.org/mailman/listinfo/python-list