Cutting a deck of cards

Terry Jan Reedy tjreedy at udel.edu
Sun May 26 17:03:39 EDT 2013


On 5/26/2013 3:54 PM, Carlos Nepomuceno wrote:
> ----------------------------------------
>> From: usenetmail at solar-empire.de
> [...]
>> Not in Python3.x
>>>>> decks = 6
>>>>> list(range(13 * 4 * decks)) == range(13 * 4 * decks)
>> False
>>
>> Adiaŭ
>> Marc
>
>
> What does "list(range(13 * 4 * decks))" returns in Python 3? 	

A list, obviously. What you should ask is what range returns in Python 
3, and you should install python 3 and try it, and list its attributes.
	 	   		





More information about the Python-list mailing list