Commit 561fa7d1 by BellCodeEditor

save project

parent 5618edb0
Showing with 12 additions and 6 deletions
total = [] def new_input():
while True: total = []
a= input("坤坤菜单:") while True:
a = input("坤坤菜单:")
if a== 's': if a== 's':
break break
else: else:
...@@ -11,5 +12,10 @@ while True: ...@@ -11,5 +12,10 @@ while True:
else: else:
total.append(a) total.append(a)
print("-"*30) print("-"*30)
print(total) return total
new_print() def sum(money):
\ No newline at end of file g = 0
d = new_input()
print(d)
\ 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