Commit a894cfb7 by BellCodeEditor

save project

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