Commit 3b78ce91 by BellCodeEditor

save project

parent b23edbf0
Showing with 3 additions and 2 deletions
class Hero:
def_init_(self):
def_init_(selname,hp,attack):
self.level=1
self.hp=300
self.name=name
self.hp=help
self.attack=20
yase=Hero()
print("yase的血量值为:"yase.hp)
......
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