What does this program print?

from List comprehensions
Python 3.14 beginner 2 min

What does this program print?

Python
numbers = [0, 1, 2, 3, 4]
labels = [
    "high" if number >= 3 else "low"
    for number in numbers
    if number % 2 == 0
]
print(labels)
Open in playground
Report an error