Creating Lists
May 9, 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
- Static at the Hydrogen Line May 8, 2026
- From Hands-Off to Pre-Deployment May 8, 2026
- Sleep, Branded May 8, 2026