Skip to content
Advertisement

Tag: blackjack

Infinite looping Issue Python. Can’t quit game

I made a code for Blackjack in Python and whenever I run blackjack_game(deck) saying no to the ‘Play Again’ input should quit the game but it doesn’t. Funds going zero and below should also trigger the game to quit but it doesn’t. This is what it looks like: I added a quit() that should trigger should ‘while play_again == ‘Y’:’

Advertisement