<div class="gmail_quote">On 28 May 2013 22:33, Andreas Perstinger <span dir="ltr"><<a href="mailto:andipersti@gmail.com" target="_blank">andipersti@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Wow, that means I can do this:   print  ''.join('But this parrot is dead!')<br>
</blockquote>
<br></div>
But why do you want to do that?<br></blockquote><div><br>Actually, I meant to do this:<br><br clear="all"></div></div>print ''.join(' '.join('But this parrot is dead'.split()))<br><br>Which has the same effect. <br>
<br>There is an autodidactic purpose. I kept confusing the join statement by putting the joined string first, them the joiner, bur fooling around like this solidifies things in my mind ;')<br><br>Jim<br><span class="HOEnZb adL"><font color="#888888">Ornhgvshy vf orggre guna htyl</font></span><br>
<br>