class Hero:
    def __init__(self):
        self.level=1
        self.hp=300
        self.attack=20
yase=Hero()
print(yase.hp)