title: how to match items between 2 different lists
body: <p>I have 2 different lists:</p>
  
  <pre><code>['2', '1']
  ['equals', 'x']
  </code></pre>
  
  <p>I want to match the items so 2 = "equals" and 1 = "x" in order to recreate the original sentence "x equals x", also i have a third list which is:</p>
  
  <pre><code>['1', '2', '1']
  </code></pre>
  
  <p>I need the third list to recreate the original sentence since it has all the positions, to do this I thought of making the numbers equal to the words such as 1 = "x" and printing the list of numbers in order to have the full sentence. The problem is i do not know how to make the numbers equal to the words. Thanks for the help in advance</p>