Commit de78a9ab by BellCodeEditor

save project

parent 6d88eca4
Showing with 21 additions and 0 deletions
def new_input():
total = []
while True:
money = input("请输入(q退出)")
if money == 'q':
break
else:
try:
money = int(money)
except:
print('请重新输入一个数字')
else:
total.append(money)
finally:
print("-"*40)
return total
#你是第114514个顾客 阿坤 由于你是鸡你炸美第114514个顾客所以今天免单
#早上1:00控告学校 早上1:30拜访我的堂妹 早上2:00控告我的堂妹 早上2:30去早餐店买早餐 早上3:00控告早餐店 早上3:30
result = new_input()
print(result)
\ 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