Commit 082139f6 by BellCodeEditor

save project

parent 33d83319
Showing with 12 additions and 11 deletions
total = [] total = []
def sss(): def sss():
while True: try:
unit= input("请输入:") while True:
while True: unit= input("请输入:")
if unit== 'q': int(unit)
break if unit== 'q':
else: break
total.append(unit) while True:
try: else:
int(unit) total.append(unit)
except: except:
print("错误") print("qingshuruzhengshu")
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