Commit b36c338c by BellCodeEditor

save project

parent 21c2fe55
Showing with 3 additions and 2 deletions
......@@ -19,4 +19,5 @@ def cal(money):
return total
list=test()
totalMoney=cal(list)
print("价格是"+str(totalMoney))
\ No newline at end of file
print("价格是"+str(totalMoney))
print("均价是"+str(totalMoney/len(list)))
\ 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