摘要: ```python # dict # d = {'k':'v'} # # list # [1,2] # print(dict) # 类 # print(d) # 对象 # 自定义类 # def 函数名(): # pass # class 类名: # 属性 = 'a' # # print(类名.属性) # 类名的作用 就是操作属性 查看属性 # class Person: # 类名 # countr 阅读全文
posted @ 2020-03-21 10:50 西半球 阅读(74) 评论(0) 推荐(0) 编辑