Commit 56aecda3 by BellCodeEditor

save project

parent 69291b9d
Showing with 9 additions and 17 deletions
def new_input(): n = []
n = [] while True:
while True: z=input('菜名:')
z=input('请输入:') if z=='qp':
if z=='q': break
break else:
else: n.append(z)
try: print(z)
z=int(z) \ No newline at end of file
except:
print('重新输')
else:
n.append(z)
print('-'*30)
print(n)
new_input()
\ 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