Commit 2f16a9e2 by BellCodeEditor

save project

parent 8ef94a88
Showing with 18 additions and 7 deletions
class H:
def __init__(self):
self.n=20
self.h=100000000
self.l=500
def __init__(self,n,h,l):
self.p=1
self.n=n
self.h=h
self.l=l
yase=H('压缩',10000000,500)
houyi=H('弘扬',1,300)
print(yase.h)
def p():
yase.h=yase.h*3
yase.n="亚索"
yase.l=yase.l*3
p()
print(yase.h)
print(yase.n)
print(yase.l)
yase=H()
print(yase.h)
\ 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