Commit 1cc6026a by BellCodeEditor

save project

parent 2f16a9e2
Showing with 12 additions and 13 deletions
class H:
def __init__(self,n,h,l):
self.p=1
self.n=n
def __init__(self,p,h,l):
self.p=p
self.h=h
self.l=l
def up(self):
self.h=self.h+1
self.p=self.p+1
self.l=self.l+40
yase=H('压缩',10000000,500)
houyi=H('弘扬',1,300)
yase=H(1,10000000,500)
houyi=H(1,1,300)
print(yase.h)
def p():
yase.h=yase.h*3
yase.n="亚索"
yase.l=yase.l*3
p()
houyi.up()
print(yase.h)
print(yase.n)
print(yase.l)
print(yase.p)
print(houyi.l)
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