List Comprehension

List Comprehension is a shorthand syntax that includes a loop, an expression, and a conditional. Its commonly used for converting one list into another. At a high level, the syntax looks like this:

new_list = [expression for x in old_list if condition]

Some examples: