Commit 65f5098f by BellCodeEditor

auto save

parent d07611e3
Showing with 0 additions and 7 deletions
......@@ -10,10 +10,4 @@ class Hero:
self.attack=self.attack + 4
houyi = Hero("后羿",40000,50000)
houyi.upgrade()
print("等级力:",houyi.level)
print("血量为:",houyi.hp)
print("攻击力: ",houyi.attack)
\ 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