Commit b9039d57 by BellCodeEditor

save project

parent 103a17ae
Showing with 5 additions and 1 deletions
def menu(): def menu():
total = [] total = []
while True: while True:
unit= input("请输入:") try:
unit= int(input("请输入:"))
except:
print("你输入有误,输入数字")
else:
if unit== 'p': if unit== 'p':
break break
else: else:
......
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