Commit 89de45c1 by BellCodeEditor

save project

parent 00d670e2
Showing with 8 additions and 5 deletions
class Hero:
def __init__(self):
self.level=10
self.hp=10000
self.attack=100000
x=Hero()
def __init__(self,nn,hh,aa):
self.level=1
self.nn=nn
self.hh=hh
self.aa=aa
x=Hero("xx",100000000000,1000000000000)
y=Hero("yy",1,1)
print("xdssssss:"x.hp)
print("xjjjjjjj"x.attack)
\ 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