Commit 61b54a9f by BellCodeEditor

save project

parent d229acf9
Showing with 7 additions and 3 deletions
......@@ -4,5 +4,9 @@ class Hero:
self.name=name
self.hp=300
self.attack=attack
yesa=Hero("垭瑟",300,20)
houyi=("后羿",240,23)
\ No newline at end of file
yese=Hero("垭瑟",300,20)
houyi=Hero("后羿",240,23)
def fun():
yase.level+=1
yese.hp+=50
yese.attack+=20
\ No newline at end of file
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