Commit 70a71ff7 by BellCodeEditor

auto save

parent 3980c5dc
Showing with 3 additions and 9 deletions
class Hero: class Hern:
def __init__(self): se
self.level = 1 \ No newline at end of file
self.hp = 100
self.attack = 20
yase = Hero()
print(yase.level)
\ 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