I have the two lists $A=\{1,2,3\}, B=\{a,b,c\}$. I want to get a new list $C=\{1 -> a,2->b,3->c\}$, which is just adding $->$ sign in between.
I tried
A={1,2,3};
B={a,b,c};
C={};
W="->";
Do [
f[i]=A[[i]]*W*B[[i]];
AppendTo[C, f[i]];
,{i,1,3}
];
But it is flipping the sequence in $C$ list. How to get rid of this?