Commit 9763159d by BellCodeEditor

save project

parent 044afe7f
Showing with 7 additions and 0 deletions
...@@ -13,3 +13,9 @@ def a(): ...@@ -13,3 +13,9 @@ def a():
yase.level = yase.level+1 yase.level = yase.level+1
yase.hp = yase.hp+50 yase.hp = yase.hp+50
yase.attack = yase.attack+4 yase.attack = yase.attack+4
yase = Hero("亚瑟",300,20)
yase.a()
print("等为:",yase.level)
print("血为:",yase.hp)
print("攻为:",yase.attack)
\ 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