Commit e997e92d by BellCodeEditor

save project

parent c996c274
Showing with 7 additions and 7 deletions
class h: class h:
def__init__(self): def__init__(self,name,hp,att):
self.level=2 self.name=name
self.hp=400 self.hp=hp
self.attak=30 self.att=att
yase=h() yase=h("yase",200,25)
print(yase.hp) houyi=h("youyi",150,20)
\ No newline at end of file print()
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