grade_for(score) that converts a numeric score (0-100) into a letter grade: "A" for 90 and above, "B" for 80-89, "C" for 70-79, "D" for 60-69, and "F" below 60.grade_for(93)
"A"
93 >= 90.
grade_for(55)
"F"
55 is below 60.
Order your elif checks from highest threshold to lowest.
Once a branch matches, later elifs are skipped automatically.