x=0 for x in range(0,k): if(x>list_length): x=0 #adding value of list in position \'x\' to concat list concat_list.append(l[x]) x+=1 <
x=0 for x in range(0,k): if(x>list_length): x=0 #adding value of list in position \'x\' to concat list concat_list.append(l[x]) x+=1