Commit 73244c88 by BellCodeEditor

auto save

parent ef8eb640
Showing with 17 additions and 13 deletions
class Hero:
def __init__(self,hp,attack):
self.level=1
self.hp=hp
self.attack=attack
yase=Hero(99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999,9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999)
def upgrade():
yase.level=yase.level+1
yase.hp=yase.hp+1
yase.attack=yase.attack+1
upgrade()
upgrade()
print(yase.attack)
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