2018年1月16日
摘要: class Person: count=0 count+=1 def __init__(self): pass join=Person() print(Person.count) class Foo: count = 0 def __init__(self): Foo.count += 1 f1 = 阅读全文
posted @ 2018-01-16 22:09 V神丫丫 阅读(184) 评论(0) 推荐(0)
摘要: 3.查看属性&调用方法: 阅读全文
posted @ 2018-01-16 21:50 V神丫丫 阅读(129) 评论(0) 推荐(0)