# Enum. 定義(列挙型)

# Python

from enum import Enum
class Color(Enum):
  RED   = 1
  GREEN = 2
  BLUE  = 3

[ 📩 ご意見 ]