Commit 0a212128 by BellCodeEditor

save project

parent 9b036338
Showing with 6 additions and 8 deletions
def new_input(): def new_input():
total = [] total = []
while True: while True:
money = input('请输入(q退出)')鸡鸡鸡鸡鸡 money = input('请输入(q退出)')
鸡鸡鸡鸡鸡鸡鸡鸡鸡 break break
else: else:
try: total.append(unit)
money =int(money) print(total)
except: new_input()
else: \ No newline at end of file
print("_"*30)
\ 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