Commit c89c0b6a by BellCodeEditor

save project

parent 232e1b5c
Showing with 4 additions and 3 deletions
class hero: class hero:
def __init__(self): def __init__(self):
self.hp=300 self.hp=300
self.attake=20 self.attake=20
self.level=20 self.level=20
yase=hero() yase=hero()
print(yase.hp) print(yase.hp)
\ No newline at end of file
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