Commit d5c009ed by BellCodeEditor

auto save

parent 5ae2e57c
Showing with 5 additions and 2 deletions
...@@ -2,4 +2,7 @@ class Hero: ...@@ -2,4 +2,7 @@ class Hero:
def __init__(self): def __init__(self):
self.level=1 self.level=1
self.hp=500 self.hp=500
self.attack=10 self.attack=10
\ No newline at end of file
yase=Hero()
print(yase.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