Re: [Tutor] How to find reverse pair words in a list of Words that has to be accessed through a URL

2013-04-19 Thread Chetan Sai
ct(word_list, rev_word) if __name__ == '__main__': word_list = make_word_list() for word in word_list: if reverse_pair(word_list, word): print word, word[::-1] On Fri, Apr 19, 2013 at 2:05 PM, Don Jennings wrote: > > On Apr 19, 2013, at 4:56 PM, Chetan Sai wrote:

[Tutor] How to find reverse pair words in a list of Words that has to be accessed through a URL

2013-04-19 Thread Chetan Sai
*Here is my question:* * * *"Two words are a “reverse pair” if each is the reverse of the other. Write a program that finds all the reverse pairs in the word list. The word list can be downloaded athttp://www.puzzlers.org/pub/wordlists/pocket.txt"* ___ Tu