Commit fcd4fdff by BellCodeEditor

save project

parent 968103b4
Showing with 5 additions and 1 deletions
......@@ -10,7 +10,10 @@ def foods():
print("错误")
else:
total.append(unit)
return total
count = 0
for i in total:
count += i
return count
total = foods()
print(total)
\ 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