Question: I need to wite this assignment in Python, 1. Deal Cards. Write a program that asks the user for the number of cards in a

I need to wite this assignment in Python, 1. Deal Cards. Write a program that asks the user for the number of cards in a hand. Then, displays all the cards from a deck of playing cards using a list, "A", "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K" for the value of the card and another list, "c", "h", "s", "d" for the suits. The program randomly selects from each list. As an example, if the selection is the jack of clubs, it should display 'Jc'. Use one list to represent all of the possible card values and another list for the possible suits. Print out each card in the hand according to the input from the user. For this program, it is permitted to repeat card values

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 Accounting Questions!