Commit 7892a2ac by BellCodeEditor

save project

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