title: How to reverse the order of letters in a string in python
body: <p>In python, how do you reverse the order of words in a string and also reverse the order of the letters in the word.</p>
  
  <p>For example, if the input is: </p>
  
  <pre><code>Hello world
  </code></pre>
  
  <p>The output should be:</p>
  
  <pre><code>olleH dlrow
  </code></pre>
  
  <p>My attempt:</p>
  
  <pre><code>a=input('Line: ') 
  print(a[::-1]) 
  </code></pre>