Commit 5c6b7f86 by BellCodeEditor

save project

parent 5e7ee6a3
Showing with 3 additions and 2 deletions
...@@ -15,4 +15,6 @@ yase = hero("亚瑟",300,20) ...@@ -15,4 +15,6 @@ yase = hero("亚瑟",300,20)
print("亚瑟的初始血量值为:",yase.hp) print("亚瑟的初始血量值为:",yase.hp)
uparade() uparade()
upgrade() upgrade()
print("升级2次后,亚瑟的血量值为") print("升级2次后,亚瑟的血量值为")
\ No newline at end of file print("等级为:",houyi.level)
print("xueliangwei")
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