title: a becomes z, b becomes y. abcd becomes zyxw ...etc in python
body: <pre><code>def string_transf():
      input('Enter a word or string')
      #letters = 'abcdefghijklmnopqrstvwxyz'
      #for i in letters:
              #i+=
  
      if c &gt;= 'a' and c &lt;='z':
          i = 'z' - c + 'a'
          print(i)
  </code></pre>
  
  <p>I tried to come up with an algorithm, but I'm lost.</p>