python reverse tokens in a string
<p>I have the following string:</p>

<pre><code>apple.orange.red.green.yellow
</code></pre>

<p>How can i reverse it to get the following:</p>

<pre><code>yellow.green.red.orange.apple
</code></pre>
