On 28 May 2013 22:33, Andreas Perstinger <andiper...@gmail.com> wrote:
> Wow, that means I can do this: print ''.join('But this parrot is dead!') >> > > But why do you want to do that? > Actually, I meant to do this: print ''.join(' '.join('But this parrot is dead'.split())) Which has the same effect. 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 ;') Jim Ornhgvshy vf orggre guna htyl
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor