Commit d39b9f91 by BellCodeEditor

save project

parent a93e44cb
Showing with 4 additions and 3 deletions
def new_input() def new_input():
total = [] total = []
while True: while True:
money=input("请输入(q退出)") money=input("请输入(q退出)")
if money=='q' if money=='q':
break break
else: else:
try: try:
...@@ -15,6 +15,6 @@ def new_input() ...@@ -15,6 +15,6 @@ def new_input()
print("-"*30) print("-"*30)
return total return total
result=new.input() result=new_input()
print(result) print(result)
\ 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