MCPcopy Create free account
hub / github.com/asweigart/PythonStdioGames / displayHands

Function displayHands

barebones/blackjack-barebones.py:76–80  ·  view source on GitHub ↗
(playerHand, dealerHand)

Source from the content-addressed store, hash-verified

74
75
76def displayHands(playerHand, dealerHand):
77 print('DEALER:')
78 displayCards(dealerHand)
79 print('PLAYER:', getHandValue(playerHand))
80 displayCards(playerHand)
81
82
83def getHandValue(allCards):

Callers 1

mainFunction · 0.70

Calls 2

displayCardsFunction · 0.70
getHandValueFunction · 0.70

Tested by

no test coverage detected