Question: Python 3 (15 points) Create a Song class that has the following instance variables: title, which is a String representing the title of the song.
(15 points) Create a Song class that has the following instance variables: title, which is a String representing the title of the song. artist, which is a String representing the performer of the song. length, which is an int representing the length of the song in seconds. composer, which is a String representing the composer of the song Create a constructor for the class that accepts parameters for all instance variables and instantiates an object Song with those values: Create the str method to return a String containing all the information about a Song: Create getters and setters for all the instance variables of the Song class Create a method display that displays all information in an object
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
