Commit 02b436cd by BellCodeEditor

save project

parent cb64e182
Showing with 5 additions and 3 deletions
...@@ -3,6 +3,9 @@ class hero(): ...@@ -3,6 +3,9 @@ class hero():
guangxin.lever = 1 guangxin.lever = 1
guangxin.shanghai = shanghai guangxin.shanghai = shanghai
guangxin.hp = hp guangxin.hp = hp
def sss():
sikongzhen.lever = sikongzhen.lever+1
sikongzhen.hp = sikongzhen.hp+50
sikongzhen = hero(469,3700) sikongzhen = hero(469,3700)
print("司空震的前期是吴迪的",sikongzhen.hp) sss()
\ No newline at end of file print("司空震的2级是吴迪的",sikongzhen.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