t1 = ('aaa', 'bbb', 123)
t2 = ('aa', 'bb', 12)
t3 = ('a', 'b', 1)
entries = []
entries.append(t1)
entries.append(t2)
entries.append(t3)
entries.append( ('xxx', 'yyy', 'zzz') )
print 'The number of entries:', len(entries)
for entry in entries:
print entry
|