#!/usr/bin/env python # Ivan Novick # March 25, 2011 # add tuples to a list mys = list() mys.append(("foo", "11")) mys.append(("fop", "12")) mys.append(("foq", "13")) # loop through the tuples for a,b in mys: print "A %s B %s" % (a,b)