True if 조건문 else False
if a % 2 == 0:
print("짝수")
else:
print("홀수")
print("짝수") if a % 2 == 0 else print("홀수")
if [Condition1]:
[True1]
elif [Condition2]:
[True2]
else
[False]
⬇︎
[True1] if [Condition1] else [True2] if [Condition2] else [False]