We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adb1efa commit 42b9e30Copy full SHA for 42b9e30
1 file changed
blackjack.py
@@ -81,7 +81,7 @@ def score(dealer_hand, player_hand):
81
elif total(player_hand) >=22 and total(dealer_hand) >=22:
82
print_results(dealer_hand, player_hand)
83
time.sleep(1)
84
- print("Both you and the dealer bust!")
+ print("Both you and the dealer bust!\n")
85
elif total(dealer_hand) == 21:
86
87
@@ -101,7 +101,7 @@ def score(dealer_hand, player_hand):
101
elif total(player_hand) > total(dealer_hand):
102
103
104
- print ("Congratulations. Your score is higher than the dealer. You win\n")
+ print ("Congratulations. Your score is higher than the dealer. You win!\n")
105
106
def game():
107
choice = 0
0 commit comments