for line, i in lines: print line for character, j in line: print character else: print x for x, in [(1,), (2,), (3,)]: x