Commit c434a12d by BellCodeEditor

save project

parent da38270a
Showing with 4 additions and 2 deletions
...@@ -11,4 +11,6 @@ class hero: ...@@ -11,4 +11,6 @@ class hero:
yase=hero("亚瑟",300,20) yase=hero("亚瑟",300,20)
houyi=hero("后羿",240,25) houyi=hero("后羿",240,25)
yase.ontt() yase.ontt()
print(yase.hp) houyi.ontt()
\ No newline at end of file print(yase.hp)
print(houyi.level)
\ 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