Commit ccf28d5d by BellCodeEditor

save project

parent bb52af40
Showing with 5 additions and 3 deletions
class hero:
hero.hp=1600
hero.level=5
hero.attack=200
def __init__(self):
self.hp=1600
self.level=5
self.attack=200
yase=hero()
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