Commit c064bba2 by BellCodeEditor

save project

parent 9cea07df
Showing with 1 additions and 1 deletions
...@@ -11,7 +11,7 @@ def upgrade(): ...@@ -11,7 +11,7 @@ def upgrade():
yase.attack=yase.attack+4 yase.attack=yase.attack+4
yase=Hero("yase",300,20) yase=Hero("yase",300,20)
print("yase的初始血量值为:".yase.hp) print("yase的初始血量值为:",yase.hp)
upgrade() upgrade()
upgrade() upgrade()
print("升级2次后,yase的血量值为:",yase.hp) print("升级2次后,yase的血量值为:",yase.hp)
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