Commit add40b92 by BellCodeEditor

save project

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