What is the correct way to create a tuple from a list comprehension? code example
Example: tuple in list comprehension
tup = tuple([(element.foo, element.bar) for element in alist])
tup = tuple([(element.foo, element.bar) for element in alist])