title: Not able to use the break statement
body: <pre><code>a=str(raw_input('Enter the word \n'))
  def back_word(m):
      b=len(m)
      d=b-1
      print m[d]
      if d&gt;0:
          back_word(m)
          d-1
      else:
          break
  
  
  print back_word(a)
  </code></pre>
  
  <p>My objective is to take a string and print the letters backwards, one in each line. I am getting a break outside loop error. Can anybody correct my code and give a reason for the error?</p>