摘要: 1 class Foo: 2 country='中国哦' 3 def __init__(self,name,age): 4 self.name=name 5 self.age=age 6 def func(self): 7 Foo.country='美国' 8 print(Foo.country) 阅读全文
posted @ 2018-08-30 15:17 ★行者尚★ 阅读(199) 评论(0) 推荐(0) 编辑