Commit 58319238 by BellCodeEditor

save project

parent 93ab2cf6
Showing with 2 additions and 2 deletions
...@@ -11,5 +11,5 @@ class Hero: ...@@ -11,5 +11,5 @@ class Hero:
yase=Hero('亚瑟',300,20) yase=Hero('亚瑟',300,20)
yase.upgrand() yase.upgrand()
print('亚瑟的血量:',yase.hp) print('亚瑟的血量:',yase.hp)
print('后翼的功击力:',hy.attack) print('亚瑟的功击力:',yase.attack)
print('亚瑟的升级后的血量:',yase.hp) 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