Commit f3d059ca by BellCodeEditor

save project

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