Commit 0be05e55 by BellCodeEditor

save project

parent 5737a53a
Showing with 15 additions and 0 deletions
class Hero():
def__init__(self,name,hp,attack):
self.level = 10000000000000
self.hp=hp
self.attack=attack
yase.Hero()
print(self.attack)
yase = Hero("老八",300,320)
houyi = Hero("卢本伟",400,30)
print("点击事件无关风月",yase,hp)
#print(yese.attack)
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