Iterating Numeric Lists
#!/usr/bin/env python # # [SNIPPET_NAME: Iterating Numeric Lists] # [SNIPPET_CATEGORIES: Python Core] # [SNIPPET_DESCRIPTION: How to iterate a list with numbers inside] # [SNIPPET_AUTHOR: Jono Bacon <[email protected]>] # [SNIPPET_LICENSE: GPL] items = [ 1, 2, 3, 4, 5 ] for i in items: print i