Commit 5cca16e9 by BellCodeEditor

save project

parent c708dca7
Showing with 3 additions and 3 deletions
class Hero: class Hero:
def __init__(self): def __init__(self):
self.level=10000000000000000000000000 self.level=10000000000000000000000000
self.hp=10000000000000000000000000 self.hp=10000000000000000000000000
self.attack=10000000000000000000000000 self.attack=10000000000000000000000000
Blue_old_man=Hero() Blue_old_man=Hero()
print(Blue_old_man.level) print(Blue_old_man.level)
print(Blue_old_man.hp) print(Blue_old_man.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