Commit 665bdf89 by BellCodeEditor

auto save

parent a3549ba0
Showing with 11 additions and 10 deletions
class ZuoZi: class ZuoZi:
def __showinit__(self,length,width,height); def __init__(self,length,width,height);
self.length=length self.length=length
self.width=width self.width=width
self.height=height self.height=height
s=ZuoZi(1,2,3) def showinfo(self)
b=ZuoZi(3,2,1) print('桌子的长度:'self.length,'宽度:'self.width,'高度:'self.height)
print(ZuoZi.length) s=ZuoZi(11,22,33)
print(b) b=ZuoZi(33,22,11)
Breakpoint s.showinfo()
\ No newline at end of file b.showinfo(w)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment