Commit ca880649 by BellCodeEditor

save project

parent 59b28f16
Showing with 7 additions and 0 deletions
......@@ -10,3 +10,9 @@ class hero:
yase = hero()
print("yase的血量值为:",yase.hp)
print("yase的攻击力为:",yase.atteack)
yase = hero("亚瑟",300,20)
print("亚瑟的初始血量值为:",yase.hp)
uparade()
upgrade()
print("升级2次后,亚瑟的血量值为")
\ 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