Commit 8f6af858 by BellCodeEditor

save project

parent 01e24727
Showing with 3 additions and 3 deletions
...@@ -5,5 +5,5 @@ class Hero: ...@@ -5,5 +5,5 @@ class Hero:
self.Attack=attack self.Attack=attack
HIM=Hero('亚瑟',100,50) HIM=Hero('亚瑟',100,50)
DA=Hero('韩团',10,100) DA=Hero('韩团',10,100)
print(HIM.hp) print(HIM.Hp)
print(DA.hp) print(DA.Hp)
\ No newline at end of file \ 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