Commit ce3db9a9 by BellCodeEditor

save project

parent dfcb60dd
Showing with 3 additions and 3 deletions
......@@ -9,7 +9,7 @@ def upgrade():
yase.hp=yase.hp+50
yase.attack=yase.attack+4
yase = Hero("aa",300,20)
print("aa一套房出太阳有图有:",yase.hp)
print("aa的初始值为:",yase.hp)
upgrade()
upgrade()
print("aa新的广告公司热尔:",yase.hp)
\ No newline at end of file
print("升级2次后,aa的血量为:",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