Commit add40b92 by BellCodeEditor

save project

parent c3b8ab32
Showing with 5 additions and 7 deletions
class Mobs(): class Mobs():
def __init__(self): def __init__(self,attack,hp):
self.attack=250 self.attack=attack
self.hp=500 self.hp=hp
wooden=Mobs() wooden=Mobs(500,250)
print(wooden.hp) \ No newline at end of file
print(wooden.attack)
\ 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