This is for Python and should be done in the simplest form,without importing anything besides random. Multiple variables needto be converted to a list. Here are the instructions in detail:
You will modify your program to work with the hand of cards as alist of 5 integers rather than 5 separate variables.
You will modify the Deal Handfunction:
- Generate the 5 cards and store them in a list
- Pass the entire 5-card list to a new function “display_hand”that will take the list as input and go through the list one at atime and call your display_face_value function
- Pass the entire 5-card list to a different
OROR