Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MusicPlayer:
- def __str__(self):
- return 'Music Player'
- def play(self):
- print('Playing music')
- def stop(self):
- print('Music stopped')
- songs = ['Love Story', 'Umbrella', 'Lost Stars']
- love_story = {
- 'title': 'Love Story',
- 'artist': 'Taylor Swift',
- 'album': 'Fearless',
- 'released': 2008,
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement