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