What is an if statement? It checks a condition and runs code when the condition is True. What is the basic syntax? if condition: # code Why is indentation important? It tells Python which code belongs inside the if block. What happens if the condition is False? The if block is skipped. What is else? else runs when the if condition is False. What is elif? elif checks another condition if the previous one is False. What is a nested if? An if statement placed inside another if statement. What are conditions? Expressions that result in True or False, such as x > 5. What are comparison operators? ==, !=, >, <, >=, and <= compare values. What does == mean? It checks whether two values are equal. What are logical operators? and, or, and not combine or modify conditions.