Question: Write a python program that simulates dealing a card from a deck of playing cards. More specifically, ask the user how many cards they want.

Write a python program that simulates dealing a card from a deck of playing cards. More specifically, ask the user how many cards they want. Then display the value of the cards as shown in the example below. You can assume you have an infinite stack of cards, so duplicates can occur. There are four possible suits: hearts, diamonds, clubs, and spades. There are 13 possible card values: ace, 2, 3, 4, 5, 6, 7, 8, 9, 10, Jack, Queen, King. Turn your assignment into Moodle. Example: How many cards should I deal? >6 The card is: 7 of diamonds The card is: Jack of hearts The card is: 5 of clubs The card is: Queen of spades The card is: 6 of spades The card is: 4 of hearts
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
