Commit 6a09c507 by BellCodeEditor

save project

parent a9556747
Showing with 6 additions and 2 deletions
......@@ -18,4 +18,8 @@ class Hero(object):
info3=enemy.name+"阵亡,游戏结束"
info = info1+info2+info3
print(info)
exit()
\ No newline at end of file
exit()
yase=Hero("亚瑟")
houyi=Hero("后裔")
houyi.combat(yase)
\ 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