我收到此错误
ipython-input-3-3d78eb88fc7b> in <module>
63
64 filling=filling(4,3,0,0,2);
---> 65 filling.main(self);
66
67
AttributeError: 'filling' object has no attribute 'main'
在下面的代码中
def main(self):
while(True):
if(self.b<self.b_max):
self.B()
elif(self.a+self.b<self.a_max):
self.AinB()
elif(self.b<self.b_max):
self.B()
elif(self.a+self.b<7):
self.tran
elif(self.a>0):
self.empA()
elif(self.a+self.b<self.a_max):
self.AinB()
filling=filling(4,3,0,0,2);
filling.main();