Commit 754af55e by BellCodeEditor

save project

parent 4b425ef1
Showing with 1507 additions and 1 deletions
...@@ -3,8 +3,1514 @@ total = [] ...@@ -3,8 +3,1514 @@ total = []
wxcept: wxcept:
while True: while True:
unit= input("请输入:") unit= input("请输入:")
if unit== 'q': if unit== '0':
break break
else: else:
total.append(def_unit) total.append(def_unit)
return
return def_total
print(def_total) print(def_total)
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