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
- Wonder 2 Finally Shows Some Restraint January 25, 2026
- Forty-Five Bugs Hiding in Plain Sight January 23, 2026
- Cleaning the Metadata January 21, 2026