Deck

A collection of standard playing cards.

source

Deck

 Deck ()

A collection of standard playing cards.

Decks start out with 52 cards.

deck = Deck()
deck
A♣️ 2♣️ 3♣️ 4♣️ 5♣️ 6♣️ 7♣️ 8♣️ 9♣️ 10♣️ J♣️ Q♣️ K♣️ A♦️ 2♦️ 3♦️ 4♦️ 5♦️ 6♦️ 7♦️ 8♦️ 9♦️ 10♦️ J♦️ Q♦️ K♦️ A❤️ 2❤️ 3❤️ 4❤️ 5❤️ 6❤️ 7❤️ 8❤️ 9❤️ 10❤️ J❤️ Q❤️ K❤️ A♠️ 2♠️ 3♠️ 4♠️ 5♠️ 6♠️ 7♠️ 8♠️ 9♠️ 10♠️ J♠️ Q♠️ K♠️
assert len(deck) == 52

Decks behave like ordinary Python lists, so you can draw a card from the top of the deck (end of the list) with pop:

assert repr(deck.pop()) == "K♠️"