Commit ad845266 by BellCodeEditor

save project

parent 31bd23cd
Showing with 2 additions and 2 deletions
class Hero: class Hero:
def __init__(self): def __init__(self):
self.level=100 self.level=100
self.hp=999999999999999999999999 self.hp=999999999999
self.attack= 8274628389 self.attack= 963
dunshan = Hero() dunshan = Hero()
print(dunshan.hp) print(dunshan.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