Commit 76315656 by BellCodeEditor

save project

parent 6aa3e20c
Showing with 13 additions and 4 deletions
......@@ -4,9 +4,18 @@ class Hero:
self.name=name
self.hp=hp
self.attack=attack
yase=Hero('yase',30000000000000000000000,200000000000000000000000000000000)
hy=Hero('hy',250000000000000000,2300)
yase=Hero('yase',300000000000000000000009999999999999999999999999999999999999999999999999999999999,200000000000000000000000000000000)
hy=Hero('hy',25,2300)
k=Hero('K',5600,199)
print(yase.attack)
print(hy.attack)
print(k.attack)
\ No newline at end of file
print(k.attack)
def upgrade():
yase.level=yase.level+1
yase.hp=yase.hp+999999999999999999999999999999999999999999999999999999999999999999999999999999
yase.attack=yase.attack+99999999999999999999999999999999999999999999999999999999999999999999999
\ No newline at end of file
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