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