Blanks in a song blueprint

Fill in the blanks · Basic · §11.2 Drawing the blueprint

This class remembers a song's title and singer, and its play count plays goes up by 1 each time the song is played. s.play() and Song.play(s) are two ways of making the same call. Fill in the three blanks.

Code with blanks

class Song:
    def __init__(____, title, singer):
        ____ = title
        self.singer = singer
        self.plays = 0

    def play(self):
        ____

s = Song("Ocean", "dami")
s.play()
Song.play(s)
print(s.title, s.singer, s.plays)

Solve this problem in your browser

Python runs in your browser and checks your answer right away. Hints and the answer are on the problem page.