Click here to Skip to main content
16,015,583 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
playing = True
while playing:
    game_deck = Deck()
    game_deck.build_deck()
    game_deck.shuffle_deck()

    player = Player()
    dealer = Dealer

    game.display_money()
    game.set_bet()

    player.draw_hand(game_deck)
    dealer.draw_hand(game_deck)


What I have tried:

ı have tried to fix it but ı couldnt
Posted
Updated 6-Aug-20 23:56pm

1 solution

We can't be specific because we have no access to the rest of your code. But the error message implies that draw_hand needs another - or different - parameter.

Look at the definition of the draw_hand function and see what parameters it expects.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900