title: XOR between string and int in Python
body: <p>How to do a XOR operation between a string with an integer in Python?
  Below is what I type:</p>
  
  <pre><code>x = 'a'
  y = x^5
  print(y)
  </code></pre>
  
  <p>It show me this error: <code>TypeError: unsupported operand type(s) for ^: 'str' and 'int'</code></p>
  
  <p>Any idea how to solve it?</p>