Commit 0672a90c by BellCodeEditor

save project

parent 72fba8a8
Showing with 5 additions and 5 deletions
...@@ -5,15 +5,15 @@ class Hero: ...@@ -5,15 +5,15 @@ class Hero:
self.hp=hp self.hp=hp
self.attack=attack self.attack=attack
def a():
quiet.level+=1
quiet.hp+=50
quiet.attack+=4
quiet=Hero('sz',10**10**2,10) quiet=Hero('sz',10**10**2,10)
noise=Hero('clever',100,10**10*1000000000000000000) noise=Hero('clever',100,10**10*1000000000000000000)
print(quiet.hp) print(quiet.hp)
print(noise.attack) print(noise.attack)
def a():
quiet.level+=1
quiet.hp+=50
quiet.attack+=4
a() a()
a() a()
print(quiet.hp) print(quiet.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