Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions 01_Acey_Ducey/python/acey_ducey.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

import random


cards = {
2: "2",
3: "3",
Expand All @@ -28,7 +27,7 @@ def play_game() -> None:
cash = 100
while cash > 0:
print(f"You now have {cash} dollars\n")
print("Here are you next two cards")
print("Here are your next two cards")
round_cards = list(cards.keys()) # gather cards from dictionary
card_a = random.choice(round_cards) # choose a card
card_b = card_a # clone the first card, so we avoid the same number for the second card
Expand Down
Loading