1 2 3 4 5 6 7 8 9 10 11
cdef enum CheeseType: cheddar, edam, camembert cdef enum CheeseState: hard = 1 soft = 2 runny = 3 print(CheeseType.cheddar) print(CheeseState.hard)