How to control frequency of occurence of given element with another element or in the given spot?

后端 未结 0 493
南笙
南笙 2021-02-06 15:39

Let\'s say I have two lists:

char_list = [\'a\',\'b\',\'c\',\'d\',\'e\',\'f\',\'g\',\'h\',\'i\',\'j\',\'k\',\'l\']
n_list = [3,2,1,2,1,3]

and wan

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