Question: Write a Python 3.5 program to compute Blackjack game as shown, with functions provided and proper indentions. 2) Blackjack Dice. Write a program (called q2.py)
Write a Python 3.5 program to compute Blackjack game as shown, with functions provided and proper indentions.




2) Blackjack Dice. Write a program (called q2.py) to simulate the game of Blackjack Dice. Blackjack Dice is based on two 11-sided dice, where each die represents the numbers from 1 to 11. The objective of this game is to roll 21. If you go over, it's considered a bust and you lose. Your score (without going over 21) must beat the dealer or you lose Rules for the Player. The player begins by rolling the dice and the program adds their corresponding numbers. After the initial roll of the two dice, a player may choose to roll a single die as many times as they wish, adding the resulting number from each roll to their total. If the total exceeds 21, the dealer wins. If the player gets 21 after the first roll, this is considered Blackjack and leads to an automatic win Rules for the Dealer. The dealer begins by rolling two dice and adds the numbers to get a total. The dealer continues rolling the dice until it reaches a total greater than
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
