Commit 5bba29ee by BellCodeEditor

save project

parent 68dd0171
Showing with 0 additions and 1 deletions
...@@ -12,7 +12,6 @@ class Hero: ...@@ -12,7 +12,6 @@ class Hero:
yase=Hero('亚瑟',350,20) yase=Hero('亚瑟',350,20)
#houyi=Hero('后羿',240,25) #houyi=Hero('后羿',240,25)
print('亚瑟的血量:',yase.hp)
#print('后羿的血量:',houyi.hp) #print('后羿的血量:',houyi.hp)
yase.upgrade() yase.upgrade()
print('亚瑟的等级:',yase.level) print('亚瑟的等级:',yase.level)
......
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