FAQ
Ah, brilliant -- yes, this is so much more elegant in Python:


#now cut the cards
x = random.randrange(2,range(13 * 4 * decks))
cards = cards[x:]+cards[:x]

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 18 | next ›
Discussion Overview
grouppython-list @
categoriespython
postedMay 26, '13 at 5:52p
activeJun 2, '13 at 5:57a
posts18
users12
websitepython.org

People

Translate

site design / logo © 2021 Grokbase