Commit f327dbca by BellCodeEditor

save project

parent 67ced2ae
Showing with 5 additions and 3 deletions
total = []
money = 0
def caidejiaqian():
total = []
while True:
unit = input('请输入蔡的价钱(q键退出):')
if unit== 'q':
......@@ -14,5 +15,5 @@ def caidejiaqian():
print('_'*97)
print(total)
return total
caidejiaqian()
print(total[0])
money = caidejiaqian()
print(money[0])
\ 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