摘要:
#创建新的类实例并把该对象赋给局部变量x,x为空的对象 class MyClass: """a simple example""" i = 12345 def f(self): return 'hello world' x = MyClass() print("MyClass 类的i属性为:",x. 阅读全文
posted @ 2019-12-04 20:21
江河湖海529
阅读(359)
评论(0)
推荐(0)
浙公网安备 33010602011771号