Re: [Tutor] Tutor] string list in alphabetical!

2013-10-21 Thread Alan Gauld
On 21/10/13 17:16, Siva Cn wrote: Hi Sammy, Try this this may help you ! Siva, the list policy is not to provide full solutions for homework type questions. It's better to provide some hints and let the OP figure it out for him/her self. That having been said there are a few issues with the

Re: [Tutor] Tutor] string list in alphabetical!

2013-10-21 Thread bob gailer
On 10/21/2013 12:16 PM, Siva Cn wrote: Hi Sammy, Try this this may help you ! -- def sort_file1_to_file2(file1, file2): """.""" input_content = [] with open(file1, 'r') as fp: input_content = fp.

[Tutor] Tutor] string list in alphabetical!

2013-10-21 Thread Siva Cn
Hi Sammy, Try this this may help you ! -- def sort_file1_to_file2(file1, file2): """.""" input_content = [] with open(file1, 'r') as fp: input_content = fp.read() input_content = input_content