Commit debbaf1a by BellCodeEditor

save project

parent 70850cf8
Showing with 9 additions and 0 deletions
class Hore:
def __init__(self,name,HP,att):
self.name=name
self.HP=HP
self.att=att
y=Hore("澜",1000,500)
o=Hore("白起"5000100)
print("澜的伤害是:"+y.att)
print("白起的伤害是:"+o.att)
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