title: How to reverse the output and put it in a text file in Python?
body: <p>If I input a text file that has this</p>
  
  <blockquote>
    <p>cat dog house animal</p>
    
    <p>plant rose tiger tree</p>
    
    <p>zebra fall winter donkey</p>
  </blockquote>
  
  <p>the output file should be like..</p>
  
  <blockquote>
    <p>zebra fall winter donkey</p>
    
    <p>plant rose tiger tree</p>
    
    <p>cat dog house animal</p>
  </blockquote>