Commit 66951ba9 by BellCodeEditor

auto save

parent e774ee20
Showing with 2 additions and 1 deletions
class Hero(object): class Hero(object):
def __init__(self, name): def __init__(self, name):
self.name = name self.name = name
...@@ -43,4 +44,4 @@ yase = Hero("垭瑟") ...@@ -43,4 +44,4 @@ yase = Hero("垭瑟")
print("_"*30) print("_"*30)
print(" 战斗开始") print(" 战斗开始")
while True: while True:
input("攻击按1,治疗按2") choice=input("攻击按1,治疗按2")
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