Intro to Computer Programming: Python Write a game of Blackjack that functions as follows: Start by dealing two cards at random to the player. Store these cards and the associated values in separate lists. You should remove the two cards from the deck once they have been dealt to the player so they cannot be dealt a second time. Report the player’s hand as well as the value of their hand. Next, as the player if they want to “hit” or “stand”. “Hitting” means that the player wants another card. “Standing” means that the player is happy with their hand and doesn’t want any more cards. If the player chooses to “hit” you should deal them another card (and remove it from the main deck). If their hand is worth 21 points they win the game. If their hand is over 21 points they lose the game (they went “bust”). If they have less than 21 points the process should be repeated (they should be re-prompted to see if they want to “hit” or “stand”) If the player chooses to “stand” they will have less than 21 points. Next, you need to give the computer the opportunity to beat the player’s score. Begin by dealing two cards to the computer and report the computer’s hand and point value. The computer should continually “hit” until one of the following conditions is met: The computer gets 21 points (blackjack) The computer earns more points than the player The computer goes “bust” (over 21 points) If the computer did not go bust then you will need to make a final determination to see who is the winner. You can do this by seeing which player has more points. Player hand: [‘6 of Spades’, ‘8 of Diamonds’] is worth 14 (h)it or (s)tand? h You drew 3 of Clubs Player hand: [‘6 of Spades’, ‘8 of Diamonds’, ‘3 of Clubs’] is worth 17 (h)it or (s)tand? h You drew 8 of Clubs Player hand: [‘6 of Spades’, ‘8 of Diamonds’, ‘3 of Clubs’, ‘8 of Clubs’] is worth 25 Bust! Player hand: [‘2 of Hearts’, ‘5 of Diamonds’] is worth 7 (h)it or (s)tand? h You drew 3 of Hearts Player hand: [‘2 of Hearts’, ‘5 of Diamonds’, ‘3 of Hearts’] is worth 10 (h)it or (s)tand? h You drew 5 of Hearts Player hand: [‘2 of Hearts’, ‘5 of Diamonds’, ‘3 of Hearts’, ‘5 of Hearts’] is worth 15 (h)it or (s)tand? h You drew 9 of Clubs Player hand: [‘2 of Hearts’, ‘5 of Diamonds’, ‘3 of Hearts’, ‘5 of Hearts’, ‘9 of Clubs’] is worth 24 Bust! Computer Wins!
Posted on by admin
Intro to Computer Programming Python Write a game of Blackjack that functions as follows Start by dealing two cards at random to the player. Store these cards and the associated values in separate lists. You should remove the two cards from the deck onc
WHAT OUR CURRENT CUSTOMERS SAY

- Google

- Sitejabber

- Trustpilot
Zahraa S
Absolutely spot on. I have had the best experience with Elite Academic Research and all my work have scored highly. Thank you for your professionalism and using expert writers with vast and outstanding knowledge in their fields. I highly recommend any day and time.
Stuart L
Thanks for keeping me sane for getting everything out of the way, I’ve been stuck working more than full time and balancing the rest but I’m glad you’ve been ensuring my school work is taken care of. I'll recommend Elite Academic Research to anyone who seeks quality academic help, thank you so much!

Mindi D
Brilliant writers and awesome support team. You can tell by the depth of research and the quality of work delivered that the writers care deeply about delivering that perfect grade.

Samuel Y
I really appreciate the work all your amazing writers do to ensure that my papers are always delivered on time and always of the highest quality. I was at a crossroads last semester and I almost dropped out of school because of the many issues that were bombarding but I am glad a friend referred me to you guys. You came up big for me and continue to do so. I just wish I knew about your services earlier.

Cindy L
You can't fault the paper quality and speed of delivery. I have been using these guys for the past 3 years and I not even once have they ever failed me. They deliver properly researched papers way ahead of time. Each time I think I have had the best their professional writers surprise me with even better quality work. Elite Academic Research is a true Gem among essay writing companies.
Got an A and plagiarism percent was less than 10%! Thanks!


Jermaine Byrant
Nicole Johnson



