from enum import Enumclass Season(Enum): Summer, Fall, Winter, Spring = range(4)winter = Season.WinterstrValue = str(winter)# strValue is "Season.Winter"strName = winter.name# strName is "Winter"print(strValue)print(strName)