title: Using replace with an array of strings
body: <p>I want to do the following:</p>
  
  <pre><code>thing = "hello world"
  A = ["e","l"]
  B = ["l","e"]
  newthing = thing.replace(A,B)
  print(newthing)
  </code></pre>
  
  <p>The output then should be hleeo wored, but it seems like I am not allowed to use replace with an array as input. Is there a way to still do it like this?</p>