EnumsEnums are created with the class syntax. Example:from enum import Enumclass SuperHeroes(Enum): BATMAN = 1 SUPERMAN = 2 WONDERWOMAN = 3 GREENLANTERN = 4 ANTMAN = 5Copy