Why does Python code return the answer a few decimal places off?

前端 未结 0 730
终归单人心
终归单人心 2020-12-12 13:28

For this problem, I want to find the mean of the sum of the product of the whole number multiplied by the decimal adjacent to it. When I calculate it by hand, it should be 1

相关标签:
回答
  • 消灭零回复
提交回复
热议问题