Python - 具名元組(collections.namedtuple)

原理分析: python 測試用例: app from collections import namedtuple if __name__ == "__main__": Student = namedtuple("AAA","id name sex") print(Student) s1 = Student(179074001,"Bily","男") s
相關文章
相關標籤/搜索