hey what I need to do is that I have the lists below:
g=[[1,2,3],[4,5,6],[7,8,9]]
h=[[10,11,12,13],[14,15,16,17]]
and I need to get add the first index from list h into the list g. the results should be like list below:
g=[[1,2,3,10,14],[4,5,6,11,15],[7,8,9,12,16]]
and this what I have done so far but it's not working:
g=[[1,2,3],[4,5,6],[7,8,9]]
h=[[10,11,12,13],[14,15,16,17]]
for i in range(len(g)):
for u in range(len(g[0])):
g[i].append(h[i][u])