i need help with my python homework

This assignment helps you practice with “classes”. Read the book for guidance: Chapter 15 and Chapter 17.

I’ve written another version of the album database (from Homework 5), this time using a class to represent an album. The class keeps track of the album’s artist, title, year, and a list of ratings. Your task is to write this class. The rest of the code should remain unchanged.

Here is the code. Refer to the comments in the code for an explanation of your task. Also see the expected output below in the word document: