How do you reverse the words in a string using python (manually)?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1009160/reverse-the-ordering-of-words-in-a-string">Reverse the ordering of words in a string</a>  </p>
</blockquote>



<p>I know there are methods that python already provides for this, but I'm trying to understand the basics of how those methods work when you only have the list data structure to work with. If I have a string <code>hello world</code> and I want to make a new string <code>world hello</code>, how would I think about this?</p>

<p>And then, if I can do it with a new list, how would I avoid making a new list and do it in place?</p>
