Commit 2a8efb73 by BellCodeEditor

save project

parent 66cd7868
Showing with 13 additions and 13 deletions
total = [] def new_input90:
while True: total=[]
unit= input("请输入:") while True:
if unit== 'q': break
break else:
else: try:
try: unit=int(unit)
except;
total.append(unit) print("=======================================================")
print(total) return total
def
else print("您一共消费")
\ No newline at end of file \ 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