----------------------------------------
> From: [email protected]
> Subject: Re: Cutting a deck of cards
> Date: Sun, 26 May 2013 22:13:55 +0200
> To: [email protected]
>
> Carlos Nepomuceno <[email protected]> wrote:
>> ----------------------------------------
>>> From: [email protected]
>> [...]
>>> Not in Python3.x
>>>>>> decks = 6
>>>>>> list(range(13 * 4 * decks)) == range(13 * 4 * decks)
>>> False
>>
>> What does "list(range(13 * 4 * decks))" returns in Python 3?
>
> A list of course. But Py3 range is very similar to Py2 xrange, it
> returns a range object.
>
> AdiaĆ
> Marc
What list? '[[0,1,2,...]]' or '[0,1,2,...]'? If it's the later then it's no
different than what range() returns in Python 2.7.5!
--
http://mail.python.org/mailman/listinfo/python-list