Assign the values to n unique variables w/out mentioning the name of the specific variable

前端 未结 0 1970
迷失自我
迷失自我 2021-02-07 00:44

So I\'m writing an optimization function with n parameters(k1,k2...kn). I want to iterate all of them passing them to some function.

#import itertools
ran = [list         


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