Commit 1b9b70d7 by BellCodeEditor

save project

parent 97565a24
Showing with 4 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)
yase.upgrade() yase.upgrade()
print('亚瑟升级后血量为',yase.hp) print('亚瑟升级后血量为',yase.level)
\ No newline at end of file print('亚瑟升级后血量为',yase.hp)
print('亚瑟升级后血量为',yase.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