Commit 2fc0a90a by BellCodeEditor

auto save

parent 90607549
Showing with 3 additions and 3 deletions
...@@ -6,5 +6,5 @@ class Hero: ...@@ -6,5 +6,5 @@ class Hero:
self.attack=attack self.attack=attack
yase=Hero('yase',300,20) yase=Hero('yase',300,20)
houyi=Hero('houyi',250,23) houyi=Hero('houyi',250,23)
print(tase) print(yase.hp)
print(houyi) print(houyi.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