Commit d0521b29 by BellCodeEditor

save project

parent 6e383601
Showing with 3 additions and 3 deletions
total = [] total = []
def aaa(): def aaa():
while True: while True:
s= input("请输入:") unit= input("请输入:")
if s== 'q': if unit== 'q':
break break
else: else:
try: try:
s=int(s) s=int(unit)
except: except:
print('请输入整数') print('请输入整数')
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