How to distribute a number evenly across a list

后端 未结 0 916
刺人心
刺人心 2021-01-19 02:15

I\'m Trying to split and distribute a number, lets say 10 across a list,

[36, 44, 12, 59, 12]

is it possible to split the 10 evenly across all indexes on the l

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