Was ist der ternäre Operator in Python?

condition = True
print("This condition is true!") if condition else print("This condition is false!")
# The if statement in one line! (Ternary operator)
Cheerful Cassowary