If, elif and else

Python groups lines by indentation, not braces. The line that opens a block ends with a colon, and the lines inside it are indented one level, usually four spaces.

if, elif and else choose a branch. Python checks the conditions from the top and runs the first one that is true, so order matters: put the narrow cases first.

The condition can be any value, using the truthiness rules from Basics. if not items: is the idiom for "if the list is empty".

== compares and = assigns. Writing if x = 3: is a SyntaxError, which catches a bug that is silent in some other languages.

Run it, then move the score >= 70 branch above score >= 90 and see what breaks.