Commit 2669fa58 by BellCodeEditor

save project

parent a43183c9
Showing with 5 additions and 2 deletions
import random
class Hero(object):
def __init__(self, name):
self.name = name
......@@ -47,4 +48,6 @@ while True:
elif choices =='2':
houyi.cure()
else:
print('输入错误,请重新输入')
\ No newline at end of file
print('输入错误,请重新输入1,2或者q')
continue
num=random.randint(1,3)
\ 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