Further reading: https://www.javatpoint.com/enum-in-java Python Python builds its enum support on top of classes. An "enum class" is simply a class that extends the enum.Enum parent, which has a lot of methods pre-implemented to provide Enum-ish behavior. All properties of the class ...