Answer:
The code written in python is attached.
Step-by-step explanation:
- I defined a function called find_reverse_pairs
- The function accepts word_list as an input
- I import the library itertools to put all possible pairs in the word_list to a list called pairs. I also created an empty list reverse_pairs to collect the desired pairs.
- For all the pairs in the pairs list, if their length is equal and they are reverse of each other, I append the pair to the reverse_pairs list