Commit d086d712 by BellCodeEditor

save project

parent 33d4c4c4
Showing with 10 additions and 7 deletions
class Here:
def__init__(self)
self.leve=300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
self.hp=999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
self.ateack=9999999999999999999999999999999999999999999999999999999999999999999999999999990999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
yxse=Hero()
print(yase.hp)
\ No newline at end of file
def __init__(self,name,hp,attack):
self.leve=300000000000000000000000000000000
self.name=name
self.hp=hp
self.attack=attack
yxse=Here("yase",999999999999999999999999999999999999999,99999999999999999999999999999)
houyi=Here("houyi",3000000000000,333333333333333333333)
print(yxse.hp)
print(houyi.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