Commit 01025bbe by BellCodeEditor

save project

parent 4e1c7a35
Showing with 17 additions and 0 deletions
hp=yase.hp+50
yase.attack=yase.attack
yase=Hero("亚瑟",300,20)
print("亚瑟的初始血量值",yase.hp)
upgrade()
upgrade()
print("升级2次后,亚瑟的血量值")
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