import time import random dead = False # Change to a boolean value # Define the cards for each suit suits = ['spades', 'hearts', 'clubs', 'diamonds'] values = ['2', '3', '4', '5', '6', '7', '8', '9', '10', 'jack', 'queen', 'king', 'ace'] cards = [f"{value} of {suit}" for value in values for suit in suits] print("You walk into a dark room, a strange man is sitting at a blackjack table.") time.sleep(1) print("You sit with the man, confused.") time.sleep(0.5) print("The man speaks, his voice rattled as a lifetime of smoking.") time.sleep(0.5) print("You will play for your life, he says, adrenaline in your eyes. You agree.") while not dead: # Change the loop condition first1 = random.randint(0, 51) first2 = random.randint(0, 51) print("He gives you two cards:", cards[first1], "and", cards[first2], "face down.") int(input("he asks you if you want to hit(1) or stand(2) ")) break