Commit 9fb0ce59 by BellCodeEditor

save project

parent 65f8c8fe
Showing with 8 additions and 2 deletions
...@@ -6,6 +6,12 @@ class Hero: ...@@ -6,6 +6,12 @@ class Hero:
self.attack=attack self.attack=attack
yase=Hero("yase",300000000000,9999999999) yase=Hero("yase",300000000000,9999999999)
houyi=Hero("houyi",77777777777777,999999999) houyi=Hero("houyi",77777777777777,999999999)
print(yase.hp) # print(yase.hp)
print(houyi.hp) # print(houyi.hp)
def zyx():
yase.level=yase.level+1
yase.hp=yase.hp+10000000000000000000000000000000000000000009999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
yase.attack= yase.attack+100000000000000000000000000000000099999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
zyx()
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