Question: Python Write some code that checks the input of cards for a blackjack game. Convert the card value into an integer. The entry by the

Python Write some code that checks the input of cards for a blackjack game.

Convert the card value into an integer. The entry by the user may be the numbers 2-10 or J, Q, K, or A (which stand for Jack, Queen, King and Ace). If they enter J, Q, or K then convert that into the integer 10. If they enter A then convert that into the integer 11.

Then add up the two numbers and display.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!