Commit 5dfe5ee4 by BellCodeEditor

save project

parent 4547232f
Showing with 8 additions and 6 deletions
class hero():
def __init__(guangxin):
guangxin.shanghai = 1
guangxin.hp = "名刀"
guangxin = hero()
print(guangxin.hp)
\ No newline at end of file
def __init__(guangxin,shanghai,hp):
guangxin.lever = 1
guangxin.shanghai = shanghai
guangxin.hp = hp
sikongzhen = hero(469,3700)
print("司空震的前期是吴迪的",sikongzhen.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