Commit c7fcf740 by BellCodeEditor

save project

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