Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please use a python program when solving. maybe take a screen shot of your finis

ID: 3716718 • Letter: P

Question

Please use a python program when solving. maybe take a screen shot of your finished program so i can see your work. otherwise its hard to understand the syntax with just copy and paste

Thank You

ssible without et closer to 21 500 games, then the estimated produ d with cards. The goal of the 8. Blackjack (twenty-one) is a casino gan as close to 21 points as possible wi ces count as 1 or 11, and all game is to draw cards that total as close going over. All face cards count as 10 points, a other cards count their numeric value. The g dealer busts (goes over 21), the e game is played against a dealer. The player tries to get closer to (without going over) than the dealer. If the as aver had not already busted) player automatically wins (provided the player o to a fixed set of rules. The The dealer must always take cards according to dealer takes cards until he or she achieves a total of at least 17. If th. all be counted as 11 when that results i- dealer's hand contains an ace, it will be counted a total between 17 and 21 inclusive; otherwise, the ace is counted as 1. Write a program that simulates multiple games of blackjack and estimate the probability that the dealer will bust. Hints: treat the deck of cards infinite (casinos use a “shoe” containing many decks). You do not need keep track of the cards in the hand, just the total so far (treating an ace 1) and a bool variable hasAce that tells whether or not the hand conta an ace. A hand containing an ace should have 10 points added to total exactly when doing so would produce a stopping total (someth between 17 and 21 inclusive).

Explanation / Answer

Please find my code.