Commit c2d23cae by BellCodeEditor

auto save

parent c4494cd6
Showing with 7 additions and 4 deletions
class Hero
def __init__(self,name)
class Hero:
def __init__(self,name):
self.hp=250
self.name=name
self.attack=40
\ No newline at end of file
self.attack=40
self.level=1
Hero.___init__="yase"
print("yase"+self.hp+self.attack+self.level)
\ 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