We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d378eea + d8b9dee commit 73778dfCopy full SHA for 73778df
BlackJack_game/blackjack.py
@@ -106,7 +106,7 @@ def dealer_choice():
106
while sum(p_cards) < 21:
107
# to continue the game again and again !!
108
k = input("Want to hit or stay?\n Press 1 for hit and 0 for stay ")
109
- if k == "1": # Ammended 1 to a string
+ if k == "1": # Amended 1 to a string
110
random.shuffle(deck)
111
p_cards.append(deck.pop())
112
print("You have a total of " + str(sum(p_cards)) + " with the cards ", p_cards)
0 commit comments