Commit 806182cd by BellCodeEditor

save project

parent a1a304c6
Showing with 6 additions and 4 deletions
class player(Hero): class player(Hero):
def __init__(self,Name): def __init__(self,Name,tyer):
super()._init_(Name) super()._init_(Name)
self.hp self.hp=200
self.attack self.attack=50
\ No newline at end of file self.tyer=tyer
print("英雄"self.tyer"已创建完逼,英雄的属性为"hero_trpy)
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