Commit c9b56d58 by BellCodeEditor

save project

parent 3aed107a
Showing with 6 additions and 5 deletions
class Hure: class Hure:
def __init__(self,name,hp,attack):
def __init__(self): self.level=1
self.hp=300 self.name=name
self.mp=0 self.hp=hp
self.forwor=100 self.attack=attack
yasa=Hure() yasa=Hure()
print(yasa.hp) print(yasa.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