Commit 32b7c046 by BellCodeEditor

save project

parent 9449d8f6
Showing with 24 additions and 0 deletions
class Hero:
def __init__(self)
self.level=1
self.hp=250
self.attack=40
self.name=name
def combat(self,enemy)
class Play(Hero):
def__init__(self,name):
super().__init__(name)
self.level=1
self.hp=200
self.attack=50
self.name=name
houyi= Player("后羿")
print("r90h8ti97uiy7gurh9urihkftj")
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