list comprehension one line code example Example: list comprehension python one line doubled_odds = [n * 2 for n in numbers if n % 2 == 1]