Commit 7ff9e3b7 by BellCodeEditor

save project

parent 6d4f5c76
Showing with 4 additions and 2 deletions
...@@ -11,8 +11,10 @@ def collect_price(): ...@@ -11,8 +11,10 @@ def collect_price():
print('输入错误') print('输入错误')
else: else:
total.append(unit) total.append(unit)
print(total) return total
collect_price() # print(total)
c=collect_price()
print(c)
# try: # try:
# age=int(input('你今年多少岁了?')) # age=int(input('你今年多少岁了?'))
......
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