Commit c7fcf740 by BellCodeEditor

save project

parent abd6ac4b
Showing with 8 additions and 8 deletions
class hero:
def__init__(seif):
seif.level=1
seif.hp=300
seif.attack:20
class Hero:
def __init__(self):
self.level=1
self.hp=300
self.attack:20
yesa=Hero()
print(yesa.hp)
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