Question: Each file should be a python program, root file name of Lab 4 _ pcarswel - t , extended by . py

Each file should be a python program, root file name of "Lab4_pcarswel-t", extended by ".py". Insert your username for pcarswel and the number of the question you chose for $. The header of each file should be comments which tell the name of the program, your name [the author], relevant comments, and the date.
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","n","s","d" for the sulits. The program randomly selects from each list. As an example, if the selection is the jack of clubs, it sholldd 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.
 Each file should be a python program, root file name of

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!