此模块定义了四个枚举类,它们可被用来定义名称和值的不重复集合: Enum , IntEnum ... C = 3 ... D = 2 ... F = 1 ... >>> Grade.C < Grade.A True ...
確定! 回上一頁