Commit aa7916dd by BellCodeEditor

save project

parent 3bd36db8
Showing with 2 additions and 2 deletions
class Hore:
def __init__(self,name,hp,attack):
self.lever=10
self.lever=100
self.name=name
self.hp=hp
self.attack=attack
longwang=Hore("longwang",5000,10000)
longwang=Hore("longwang",5000000,100000000)
print(longwang.hp)
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