Skip to content

Commit 42b9e30

Browse files
authored
Update blackjack.py
Fixed some inconsistencies in the dialogue.
1 parent adb1efa commit 42b9e30

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

blackjack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def score(dealer_hand, player_hand):
8181
elif total(player_hand) >=22 and total(dealer_hand) >=22:
8282
print_results(dealer_hand, player_hand)
8383
time.sleep(1)
84-
print("Both you and the dealer bust!")
84+
print("Both you and the dealer bust!\n")
8585
elif total(dealer_hand) == 21:
8686
print_results(dealer_hand, player_hand)
8787
time.sleep(1)
@@ -101,7 +101,7 @@ def score(dealer_hand, player_hand):
101101
elif total(player_hand) > total(dealer_hand):
102102
print_results(dealer_hand, player_hand)
103103
time.sleep(1)
104-
print ("Congratulations. Your score is higher than the dealer. You win\n")
104+
print ("Congratulations. Your score is higher than the dealer. You win!\n")
105105

106106
def game():
107107
choice = 0

0 commit comments

Comments
 (0)