Commit eb0681c7 by BellCodeEditor

auto save

parent f47689a4
Showing with 64 additions and 0 deletions
class Hero():
def __init__(self,level,hp,attack,name):
self.level = level
self.hp = hp
self.attack = attack
self.name = name
#uge = Hero(68,800,60,"嘟哥")
#rint(duge.level)
#rint(duge.hp)
#rint(duge.attack)
duge = Hero(1,99999,99999,"渣渣灰")
print(duge.level)
print(duge.hp)
print(duge.attack)
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