python 元组

it2024-11-11  6

STATUS_NORMAL = 1 STATUS_DELETE = 0 STATUS_ITEMS = ( (STATUS_NORMAL,‘正常’), (STATUS_DELETE,‘删除’), )

元组用“()”标识,内部元素用逗号隔开

最新回复(0)