Solve problem "The number of pairs of equal" online - Learn Python 3 - Snakify

## Statement

Given a list of numbers, count how many element pairs have the same value (are equal). Any two elements that are equal to each other should be counted exactly once.

In all the problems input the data using input() and print the result using print().

## Tests

1 2 3 2 3
2
1 1 1 1 1
10
1 2 3
0
1 1 1
3
2 3
0
2 2
1
0 0
1
0 0 6 1 1 4 2 1 2 2
7
0 1 43 10 13 33 15 8 18 21
0
3 2 1 2 2 4 3 2 5 3 2
13