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