(f(x) for x in list_of_inputs)
These are useful when you don't need to evaluate all of the inputs at once but still want to iterate over them at some point later on.
values = (f(x) for x in list) g(*values)
These are useful when you don't need to evaluate all of the inputs at once but still want to iterate over them at some point later on.