I apologise for the simple question, but I've trying to learn to write my code in a more idiomatic way, after having learned Mathematica mostly through trial and error for a long time.
Say I have two lists
l1={x,y,z}
l2={a,b,c}
And I want to create a replacement rule
{x->a,y->b,z->c}
I can achieve this through
Table[l1[[i]] -> l2[[i]], {i, 1, Length[l1]}]
But this feels cumbersome and I was wondering if there's a cleaner, more idiomatic way of making the same replacement rule?
Thread/AssociationThread. $\endgroup$