I am new to Python, and am learning about basic methods that can be used in Python in class. I have this homework problem that I do not really know how to solve, so I was wondering if you could help me with this. Here is the problem:
class Doughnut:
    categories = ['cakey', 'doughy']
    def __init__(self, category, flavor):
        if category not in Doughnut.categories:
            self.category = 'doughy'
        else:
            self.category = category
        self.flavor = flavor
    def ___________:
        return self.category + " " + self.flavor + "doughnuts" 
d = Doughnut('cakey', 'bacon')
print("I want 2 " + str(d) + "s please!") # I want 2 cakey bacon doughnuts please!
I need to know what to write in the blank statement between the second "def" and ":". Thank you in advance!
 
     
     
    