Learn1 of 3
If This, Then That
An if statement lets your program make decisions. Think of it like a fork in the road: IF something is true, do one thing. Otherwise, do something else. In Python: if age >= 10: print('You are in double digits!'). The program checks: is age 10 or more? If yes, it prints the message. If no, it skips it. The colon (:) and indentation (space before print) are very important!