Lesson 21
If Statements
Making decisions in code
fork
Your Code Can Make Choices!
IF something is true, THEN do something!
Real Life Example:
IF it is raining
THEN bring an umbrella
if raining == True: print("Bring umbrella!")
The code inside only runs IF the condition is True!