Commit 122db624 by BellCodeEditor

save project

parent 8e19be17
Showing with 3 additions and 3 deletions
......@@ -27,6 +27,6 @@ class Player(Hero): # 玩家英雄
super().__init__(name)
self.hp=10000000000000000000000000000000000000000000000000000000000000000000
self.attack=95
刘备 = Player("后羿")
print("刘备的血量值为:",player.hp)
print("刘备的攻击力为:",player.attack)
'刘备' = Player("后羿")
print("刘备的血量值为:",刘备.hp)
print("刘备的攻击力为:",刘备.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