Commit f4c4133d by BellCodeEditor

save project

parent 75f5c914
Showing with 16 additions and 4 deletions
class Hero:
def __init__(self,name):
self.
\ No newline at end of file
class h:
def __init__(self,q,w,e):
self.l=1
self.n=q
self.h=w
self.a=e
def d(self):
self.l+=1
self.a+=2000
self.h+=200
y=h('qqqqqqqqq',1000,10000)
y.d()
print(y.h)
print(y.a)
print(y.l)
\ 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