01 2024 档案

摘要:class Test(object): # class Test: #python中类默认继承object,开发中可以不用写object def __init__(self, *args): print(args) print(*args) t = Test(1, 2, 3) ## 输出: # (1 阅读全文
posted @ 2024-01-31 11:29 phper521 阅读(0) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示