Commit 5d8e318b by BellCodeEditor

save project

parent a2691d25
Showing with 7 additions and 4 deletions
class hero:
def __init__(a):
def __init__(a,name,hp,attack):
a.level=5
a.hp=3400000
a.attack=1
秽土水门=hero()
a.name=name
a.hp=hp
a.attack=attack
秽土水门=hero("秽土水门",3400000,100)
逼王=hero("二柱子",3400000,10000)
print(秽土水门.hp)
print(逼王.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