import random # credits_amount = 100 # welcome_msg() while True: # If-Statement to test if the player has more than 0 credits # Ask the player how much credits he wants to use #credits_played = credits_amount # If-Statement to to see if player has enough credits to play the amount # Removes the amount of credits being played from total credits
import random
# credits_amount = 100
# welcome_msg()
while True:
# If-Statement to test if the player has more than 0 credits
# Ask the player how much credits he wants to use
#credits_played = credits_amount
# If-Statement to to see if player has enough credits to play the amount
# Removes the amount of credits being played from total credits
# Returns outcome of the game and adds winnings to total credits
# If-Statement to ask the player if they want to play again
# If True: Restarts the game
# Else: Display how much the player cashed out, and close the game
# Else: Display the insufficient credits message and close
# Else: Display the insufficient credits message and close
can you pleasee help, these are the guidelines i just dont know how to execute them
Step by step
Solved in 4 steps with 1 images