Branching: the program decides
Until now the code ran in a straight line. The if statement creates a fork. If the condition is True, one block runs; otherwise execution continues or takes another path.
Until now the code ran in a straight line. The if statement creates a fork. If the condition is True, one block runs; otherwise execution continues or takes another path.