A downloadable tool

Download NowName your own price

A short and simple piece of Python code to create a deck of cards, shuffle and draw each time a button is pressed.

Initially, you will be asked how many decks you would like added to the stack. This can be an integer equal to or greater than 1.

When the deck is emptied, the stack can be reshuffled.

Published under a CC BY-SA 4.0 licence.


Download

Download NowName your own price

Click download now to get access to the following files:

DeckofPythons.py 3 kB

Leave a comment

Log in with itch.io to leave a comment.