摘要: import math #导入math模块(π需要引入math模块,再获取pi值) class shape: #定义一个类 def get_i(self): #方法 print(self.i) def get_j(self): #方法 print(self.j) class zfx(shape): 阅读全文
posted @ 2020-12-11 18:25 莫斯科郊外 阅读(59) 评论(0) 推荐(0)