Commit 3fcf55d8 by BellCodeEditor

save project

parent 6098cdf6
Showing with 2 additions and 1 deletions
def new_input(): def new_input():
total = [] total = []
while True:
try: try:
unit= int(input("请输入:")) unit= int(input("请输入:"))
except: except:
pint("请输入数字") print("请输入数字")
if unit== 'q': if unit== 'q':
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