Question: what are the if statements in python?
Answer: In Python, If Statement is used for decision making. It will run the body of code only when IF statement is true. When you want to justify one condition while the other condition is not true, then you use "if statement". Code Line 8: The variable st is set to "x is less than y."