Commit f3d059ca by BellCodeEditor

save project

parent d42c7662
Showing with 3 additions and 2 deletions
...@@ -11,6 +11,7 @@ def upgrade(): ...@@ -11,6 +11,7 @@ def upgrade():
yese.hp=yese.hp+50 yese.hp=yese.hp+50
yese.attack=yese.attack+4 yese.attack=yese.attack+4
yese.level=yese.level+1 yese.level=yese.level+1
upgrade() yese.upgrade()
houyi.upgrade()
print(yese.hp) print(yese.hp)
print(houyi.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