Question: 
Write a function to count the pairs of reverse strings in the given string list.


Model's Code:
def count_reverse_pairs(strings):
    count = 0
    seen = set()

    for s in strings:
        if s[::-1] in seen:
            count += 1
        seen.add(s)

    return str(count)



Sample Correct Code:
def count_reverse_pairs(test_list):
  res = sum([1 for idx in range(0, len(test_list)) for idxn in range(idx, len( 
	test_list)) if test_list[idxn] == str(''.join(list(reversed(test_list[idx]))))]) 
  return str(res)


Asserts:
assert count_reverse_pairs(["julia", "best", "tseb", "for", "ailuj"])== '2'
assert count_reverse_pairs(["geeks", "best", "for", "skeeg"]) == '1'
assert count_reverse_pairs(["makes", "best", "sekam", "for", "rof"]) == '2' 


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 757 of 974: 572/757 (75.56142668428005%): success