Commit a8adbbaf by BellCodeEditor

save project

parent d6c81a0f
Showing with 14 additions and 0 deletions
class Hero():
def __init__(self,name,HP,attack):
self.leve=999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
self.name=name
self.HP=HP
self.attack=attack
zhushen=Hero("猪神"99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999)
him=Hero("him"999999999999999999,99999999)
def upgrade():
him.leve=him.leve+1
him.HP=him.HP-999
him.attack=him.attack-99
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