python list comprehension make a tuple of lists code example Example: tuple in list comprehension tup = tuple([(element.foo, element.bar) for element in alist])