Without using if-elif statements, how to judge the rank of a number elegantly?

NoSuchKey

Guess you like

Origin www.cnblogs.com/pythonista/p/12731600.html