Is there a function in Python to multiple a number by another X times and produce the sum? See description

前端 未结 0 1744
别那么骄傲
别那么骄傲 2020-12-01 23:17

Essentially I have a list of numbers [5,2,4] that I want to multiply by 0.5 x number of times and get the ssum of. Where the number of times is also given in a list [3,5,7].

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