why cant I keep my randomly generated elements in list?

前端 未结 0 1912
小鲜肉
小鲜肉 2021-01-28 06:29

I have the following function which generates \'n\' random combinations of k tuples from a main list, list_1:

def rand_gen(n):

    # rand_list=[]
    for i in ra         


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