Re: thanks very much indeed for your help is there a better way to do this (python3) newby

2009-02-24 Thread kshitij
On Feb 24, 6:29 am, Rhodri James rho...@wildebst.demon.co.uk wrote: On Mon, 23 Feb 2009 23:33:31 -, Gary Wood woody...@sky.com wrote: '''exercise to complete and test this function''' import string def joinStrings(items):     '''Join all the strings in stringList into one string,    

thanks very much indeed for your help is there a better way to do this (python3) newby

2009-02-23 Thread Gary Wood
'''exercise to complete and test this function''' import string def joinStrings(items): '''Join all the strings in stringList into one string, and return the result. For example: print joinStrings(['very', 'hot', 'day']) 'veryhotday' ''' for i in items: return

Re: thanks very much indeed for your help is there a better way to do this (python3) newby

2009-02-23 Thread Rhodri James
On Mon, 23 Feb 2009 23:33:31 -, Gary Wood woody...@sky.com wrote: '''exercise to complete and test this function''' import string def joinStrings(items): '''Join all the strings in stringList into one string, and return the result. For example: print joinStrings(['very', 'hot',