Commit a0946c89 by BellCodeEditor

save project

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