📜  python 枚举 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:12.263000             🧑  作者: Mango

代码示例2
An enumeration is a set of symbolic names (members) bound to unique, constant values. Within an enumeration, the members can be compared by identity, and the enumeration itself can be iterated over.