SamGB

0 Reputation

2 Badges

13 years, 154 days

MaplePrimes Activity


These are questions asked by SamGB

Hi there,

 

I'm looking to merge the following two lists:

 

L:=[[1,1,1,1,1],[1,1,1,1,1],[1,1]]

M:=[[],[],[],[],[],[0],[],[],[],[],[0],[],[]]

In the following way:

N:=[[1,1,1,1,1],[0],[1,1,1,1,1],[0],[1,1]]

Basically so it takes alternate terms (i.e. L[1], M[1], L[2], M[2] etc.)

 

Any help would be appreciated!

 

Thanks, Sam

Page 1 of 1