EasyOutput prediction
Conditional expression (ternary)
What does this code print?
x = 7 label = "odd" if x % 2 != 0 else "even" print(label)
← → arrow keys to navigate
Sign in to save your progress.
What does this code print?
x = 7 label = "odd" if x % 2 != 0 else "even" print(label)
← → arrow keys to navigate
Sign in to save your progress.