Commit 9686ab08 by BellCodeEditor

save project

parent ab7f6f5e
Showing with 9 additions and 3 deletions
class hero():
def __init__(seil):
seil.level=199999999999999999999999999
seil.hp=300000000000000000000000
seil.attack=20000000000000000000
seil.level=1
seil.hp=300
seil.attack=20
yase=hero()
def upgrade():
yase.level=yase.level+1
yase.hp=yase.hp+50
yase.attack=yase.attack+5
upgrade()
print(yase.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