枚举的应用
摘要:
from enum import Enum import turtle as t class Color(Enum): red = 1 orange = 2 yellow = 6 green = 4 blue = 5 indigo = 3 purple = 7 t.pensize(8) t.bgco 阅读全文
posted @ 2021-11-05 10:51 天若有情66 阅读(24) 评论(0) 推荐(0) 编辑