Корпус переключателя Python 3.10
grade = 92
category = grade//10 # Well above average grade
match category:
case 10:
print("Excellent")
case 9:
print("Well above average")
case 8:
print("Above average")
case 7:
print("Average")
case 6:
print("Below average")
case _:
print("Not passing")
Wissam