How to repeat list's elements with each diffrent n times and in Python?

后端 未结 0 1015
离开以前
离开以前 2021-01-31 13:14

The idea is to repeat list\'s elements with each diffrent n times as below.

ls = [7, 3, 11, 5, 2, 3, 4, 4, 2, 3]
id_list_fname = [\'S11\', \'S15\', \         


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