What are the three necessary parts of an if statement?

1. If, a variable, a semi-colon
2. If, a print statement, a colon
3. If, a condition, a colon
4. If, a print statement, a semi- colon

The correct answer is 3. If, a condition, a colon.

The three necessary parts of an if statement are:
1. The keyword "if"
2. A condition that evaluates to either True or False
3. A colon ":" at the end of the line, which indicates the start of the indented block of code that should execute if the condition is True