Commit 11a07c81 by BellCodeEditor

save project

parent 189bb23c
Showing with 9 additions and 0 deletions
class Hero:
def_init_(self,name,hp,attack):
self.level=level
self.hp=hp
self.name="亚瑟"
self.attack=4
yase=hero("亚瑟")
def upgrade:
yase.level=2
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