01
What If Means in Code
Computers make decisions using if statements. Type this exactly. Run it, then change the score number and run it again.
score = 85
if score >= 90:
print("Rank: S")
elif score >= 75:
print("Rank: A")
else:
print("Rank: B")