3.6 Conditionals Nov 29, 2022 • Derek Sol • 1 min read APCSP Week 14 Focusing on Selection Selection: uses a condition that evaluates if it is true or false Conditional Statements Also known as "If-statements" Can be seen as if statements or if blocks x = 4 y = 10 if y > x: print("y is greater than x") y is greater than x Can also be seen as if else statements or if else blocks x = 4 y = 10 if y > x: print("y is greater than x") else: print("y is less than x") y is greater than x