Commit 76315656 by BellCodeEditor

save project

parent 6aa3e20c
Showing with 12 additions and 2 deletions
...@@ -4,9 +4,18 @@ class Hero: ...@@ -4,9 +4,18 @@ class Hero:
self.name=name self.name=name
self.hp=hp self.hp=hp
self.attack=attack self.attack=attack
yase=Hero('yase',30000000000000000000000,200000000000000000000000000000000) yase=Hero('yase',300000000000000000000009999999999999999999999999999999999999999999999999999999999,200000000000000000000000000000000)
hy=Hero('hy',250000000000000000,2300) hy=Hero('hy',25,2300)
k=Hero('K',5600,199) k=Hero('K',5600,199)
print(yase.attack) print(yase.attack)
print(hy.attack) print(hy.attack)
print(k.attack) 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