i want to get know how many pair of numbers are present in the list
ar=[10 ,20 ,20 ,10 ,10 ,30 ,50 ,10 ,20]
this is the list
and i wan