(duration[1]).rjust(2, '0')

    result = self.title + ' (' + minutes + ':' + seconds + ')'

    # Append the songs in the playlist.
    song_num = 1
    for song in self.songs:
        result = result + '\n' + str(song_num) + '. ' + str(song)
        song_num = song_num + 1

    return result
    </pre>
    <p>
        In the above <code>__str__</code> method, we first gather general data about the playlist, and then move on to get information
        for each individual song by calling <code