Part B: 4.5 points (with Album class)
1. From the result in step 5 above, there may be songs from the same album that made it to the
top 100 song chart. (Say, Taylor Swift has two or three top 100 songs from the same album).
There may also be multiple songs from Taylor Swift from multiple album that made it to the
top 100 song chart.
2. 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.
3. 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