Question: Python Programming, use python. as printing: 'Showing . The Picture class should override the str(or_repr method of Media. Make sure you also implement any other
Python Programming, use python.


as printing: 'Showing . The Picture class should override the str(or_repr method of Media. Make sure you also implement any other methods (such as_init,getters, and setters) as needed by Picture. You should be able to use the_str (or__repr_) method in a script to show all the picture information, including media type, name, rating, and resolution. Script Your script will simulate a media library. You should have a list of Media that stores at least 12 different objects. Your list should have a mix of Song, Movie, and Picture objects. You will provide the information for each media object when you populate the list. Your program should have a menu that allows the user to perform the following actions: Display all items in the Media library Display only the Song objects Display only the Movie objects Display only the Picture objects .Play a Song: the user enters the name of the Song. If the Song is found play it. If not, display a message indicating that the Song is not in the media library. .Play a Movie: the user enters the name of the Movie. If the Movie is found play it. If not, display a message indicating that the Movie is not in the media library. Display a Picture: the user enters the Picture. Ifthe Picture is found display it. If not, display a message indicating that the Picture is not in the media library. Quit the program You will need a loop to show and process the menu until the user chooses to quit/exit the program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
