title: How to create a class in which letters from array 1 will turn into letters from the second
body: <p>I have two arrays</p>
  <pre><code>w = [&quot;t&quot;, &quot;k&quot;, &quot;p&quot;]
  w2 = [&quot;т&quot;, &quot;к&quot;, &quot;п&quot;]
  </code></pre>
  <p>should work</p>
  <pre><code>In: &quot;kpt&quot;
  Out: &quot;кпт&quot; 
  </code></pre>