How to get all multiplies of a list in an another list? : The problem is indexing. I've tried this code snippet:

    for i in range(2,len(the_list_im_getting_values_from)):
        for j in range(0,i+1):
            index[j] = j
        for k in range(0,len(index)):
            the_output_list.append(the_list_im_getting_values_from[index[k]]*the_list_im_getting_values_from[index[k+1]])
            k += 1
, but it totally didn't work.
How to solve this problem?