Commit 7892a2ac by BellCodeEditor

save project

parent 2e42ac37
Showing with 19 additions and 16 deletions
def ABC():
while True:
total = []
unit= input("请输入:")
if unit== 'q':
break
total = []
while True:
unit= input("请输入:")
if unit== 'q':
break
else:
try:
unit=int(unit)
except:
print("错了")
else:
try:
unit=int(unit)
except:
print("错了")
else:
total.append(unit)
return total
ABC()
print(total)
total.append(unit)
#try:
#SB()
#except:
#print("大傻逼,草泥马")
#else:
#print("这个一亿,付款")
#print("没了")
\ 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