Quel est l'opérateur ternaire à 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