Commit 9c2a12c5 by BellCodeEditor

save project

parent bc69f430
Showing with 6 additions and 6 deletions
class Hero: class Hero:
def __init__(): def __init__(self):
level=1 self.level=1
Hp=300 self.Hp=300
attack=100 self.attack=100
yase=Hero() yase=Hero()
print(yase.level()) print(yase.level)
\ 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