Commit c4cad7b0 by BellCodeEditor

save project

parent d6c81a0f
Showing with 16 additions and 0 deletions
class Hero:
def __init__(self,name,Hp,attack):
self.level=1
self.name=name
self.Hp=Hp
self.attack=attack
YaSe=Hero("YaSe",500,500)
a123=Hero("a123",500,50000)
def u1p():
YaSe.attack=YaSe.attack+9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
YaSe.Hp=YaSe.Hp=999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
YaSe.level=YaSe.level+999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
u1p()
print(YaSe.Hp)
print(a123.Hp)
\ 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