Commit a894cfb7 by BellCodeEditor

save project

parent 3ff07511
Showing with 7 additions and 6 deletions
class Hero(): class Yase():
def __init__(self): def __init__(self,HP,attack):
self.level = 1 self.level = 1
self.HP = 600 self.HP = HP
self.attack = 40 self.attack = attack
yase = Hero() yase = Yase(500,40)
print(yase.level) print(yase.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