Commit 94213e94 by BellCodeEditor

save project

parent 95dd81b5
Showing with 2 additions and 0 deletions
...@@ -9,4 +9,5 @@ def upgrade(): ...@@ -9,4 +9,5 @@ def upgrade():
hp=hp+50 hp=hp+50
attack=attack+4 attack=attack+4
yase=Hero("亚瑟",300,50) yase=Hero("亚瑟",300,50)
upgrade()
print(yase.hp) print(yase.hp)
\ 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