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
- The Rise of Agents in Agentic Coding: Transforming Software Development August 20, 2025
- Bleu de Chanel L'Exclusif August 19, 2025
- CSS Optimization August 19, 2025