# -*- coding: utf-8 -*- from enum import Enum class Color(Enum): red = 0 blue = 1 green = 2 if __name__ == '__main__': print(Color.blue)
# -*- coding: utf-8 -*- from enum import Enum class Color(Enum): red = 0 blue = 1 green = 2 if __name__ == '__main__': print(Color.blue)