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
- Filter First, Think Later February 21, 2026
- Five Hundred Bugs That Fuzzers Missed February 20, 2026
- Gemini 3.1 Pro and the 0.1 That Matters February 19, 2026