Question: PYTHON: Write a GUI-based program that displays random images of playing cards. At start-up, the GUI displays the image of the back of a card
PYTHON:
Write a GUI-based program that displays random images of playing cards. At start-up, the GUI displays the image of the back of a card as shown in this diagram.

When the user clicks the "Show Random Card" button, the program displays the image of the face of a random card. The program must use the following procedure for selecting a random card. It generates a random integer between 1 and 13 representing a random rank and a random character from the list ["s", "h", "d", "c"] representing a random suit. The card's file name is the concatination of the random integer, random character, and the string .gif. Assume that all image cards are stored in the sub-folder DECK as explained in the CardDemo example that was discussed in class. You need to copy the DECK folder to the folder containing your program. Sample screen shots are as follows:
Random Images Show Random Card
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
