Creating Lists
May 09, 2018
Looking through lists again. How to create a simple list and assign it to a variable.
albums = ['Meddle', 'Atom Heart Mother', 'Dark Side of the Moon', 'Wish You Were Here', 'The Wall']
for albums in albums:
print "An album by Pink Floyd: %s" % albums
Recent Entries
- Unarchived Memories December 17, 2025
- Fixing CloudFront HTTP/2 Configuration December 15, 2025
- Packets to a Silent Modem December 14, 2025