l***@gmail.com
2015-07-28 20:21:19 UTC
Hi Everyone,
I'm writing python code to read a data text file, split the file into a list of words using the split(function) and to print the results in alphabetical order.
The raw python code is located at http://tinyurl.com/oua9uqx
The sample data is located at
http://tinyurl.com/odt9nhe
Desired Output: ['Arise', 'But', 'It', 'Juliet', 'Who', 'already', 'and', 'breaks', 'east', 'envious', 'fair', 'grief', 'is', 'kill', 'light', 'moon', 'pale', 'sick', 'soft', 'sun', 'the', 'through', 'what', 'window', 'with', 'yonder']
There is a line error on no. 7
What is the cause of this error?
Regards,
Hal
Sent from Surface
_______________________________________________
Tutor maillist - ***@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
I'm writing python code to read a data text file, split the file into a list of words using the split(function) and to print the results in alphabetical order.
The raw python code is located at http://tinyurl.com/oua9uqx
The sample data is located at
http://tinyurl.com/odt9nhe
Desired Output: ['Arise', 'But', 'It', 'Juliet', 'Who', 'already', 'and', 'breaks', 'east', 'envious', 'fair', 'grief', 'is', 'kill', 'light', 'moon', 'pale', 'sick', 'soft', 'sun', 'the', 'through', 'what', 'window', 'with', 'yonder']
There is a line error on no. 7
What is the cause of this error?
Regards,
Hal
Sent from Surface
_______________________________________________
Tutor maillist - ***@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor