I paste below a simple code illustrating what I want to create: two lists from a set with pairs. I wonder it is a very simple task but I my lists aren't create in the end.
> for i from 1 to nops(lista) do
> for j from 1 to 2 do
> if j = 1 then
> if j = 2 then
In resume then after the for loop is terminated I want to be left with two lists:
x:= [1,2,3] and y:=[10,20,30]. I'm sure it has a quick fix but I'm stuck and would appreciate any help/advice.
Thanks in advance!