Completion requirements
Read this for more on conditional statements.
4. Nested if-else statements
A branch's statements can include any valid statements, including another if-else statement, which are known as nested if-else statements.
if grade >= 90: if grade < 93: print("that's an A-") elif grade >= 97: print("that's an A+") else: print("that's an A") else: print("not an A grade")
if grade = 78
if grade >= 90: if grade < 93: print("that's an A-") elif grade >= 97: print("that's an A+") else: print("that's an A") else: print("not an A grade") # not an A grade
if grade = 95
if grade >= 90: if grade < 93: print("that's an A-") elif grade >= 97: print("that's an A+") else: print("that's an A") # that's an A else: print("not an A grade")