Commit 702fd198 by BellCodeEditor

auto save

parent d493d152
Showing with 3 additions and 3 deletions
...@@ -3,9 +3,9 @@ class Hero: ...@@ -3,9 +3,9 @@ class Hero:
self.level=1 self.level=1
self.name=name self.name=name
self.hp=hp self.hp=hp
self.attack=attack sease(',300,20)
yase=Hero('yase',300,20) hy=Hero('hy'lf.attack=attack
hy=Hero('hy',250,23) yase=Hero'y,250,23)
k=Hero('K',5600,199) k=Hero('K',5600,199)
print(yase.attack) print(yase.attack)
print(hy.attack) print(hy.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