Commit 86c326fb by BellCodeEditor

save project

parent bfefffb9
Showing with 2 additions and 1 deletions
...@@ -6,7 +6,7 @@ class Hero: ...@@ -6,7 +6,7 @@ class Hero:
self.attack=attack self.attack=attack
yase=Hero('亚瑟',300,20) yase=Hero('亚瑟',300,20)
hy=Hero('后羿',250,23) hy=Hero('后羿',250,23)
k=Hero('kk',5600,199) k=Hero('k',5600,199)
print(yase.attack) print(yase.attack)
print(hy.attack) print(hy.attack)
print(k.attack) print(k.attack)
\ 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