Commit 2ed92853 by BellCodeEditor

save project

parent 29e29000
Showing with 5 additions and 3 deletions
...@@ -11,6 +11,8 @@ def func(): ...@@ -11,6 +11,8 @@ def func():
print("请重新输入一个菜名") print("请重新输入一个菜名")
else: else:
total.append(unit) total.append(unit)
return total
print(total)
func() a=func()
\ No newline at end of file print(a)
\ 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