Commit 2bb069a4 by BellCodeEditor

save project

parent 48cf6261
Showing with 10 additions and 3 deletions
class Hero: class Haro:
def __init def __init__(self,name,hp,attack):
\ No newline at end of file self.level = 1
self.hp = hp
self.attack = attack
self.name = name
yase = Haro("yase",300,30)
print(yase.name+str(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