Commit 36a2828a by BellCodeEditor

save project

parent 2828dfd3
Showing with 1 additions and 1 deletions
......@@ -11,7 +11,7 @@ class Hero:
self.attack= 150
yase = Hero('亚瑟',1000,100)
houyi = Hero('后羿',1000,150)
houyi = Hero('后羿',995,150)
print("yase的血量值为:",yase.hp)
print("yase的攻击力为:",yase.attack)
......
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