Question: Part B: 4 . 5 points ( with Album class ) 1 . From the result in step 5 above, there may be songs from
Part B: points with Album class
From the result in step above, there may be songs from the same album that made it to the
top song chart. Say Taylor Swift has two or three top songs from the same album
There may also be multiple songs from Taylor Swift from multiple album that made it to the
top song chart.
Adjust your code from Part A which accommodate the multiple songs from the same album,
and multiple songs from multiple albums by creating a class call Album and have it used in
the part A of the code. Please review the card, deck and poker card example from our
textbook for inspirations. YOUR CODE FOR PART B has to be based on PART A
Write a function and search for an artist name input is the artist name say, Taylor Swift
against topsongs and display all the artist name, Album name and Song name.
Example of the output.
Artist Name: Taylor Swift,
Album Name: Lover, Song Name: Lover, You need to calm down,
Album Name: Christmas Tree Farm EP Song Name: Christmas Tree Farm
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
