Appearance
Use for the scenario that has one decision-making only.
decision-making
if meet_condition: do action
must
if.py
age = 30 if (age >= 18): print("You are eligible to play this game")
Results:
You are eligible to play this game