What python built-in function can apply some function to every element of list in-place?

前端 未结 0 1714
有刺的猬
有刺的猬 2020-12-03 09:07

I have function sqr(n) and list array. Is there python built-in function that apply sqr(n) to every element of arr

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