You can iterate through a list of lists using a simple for loop, and use nested loops to compare each sublist (circle) with the others. Also, avoid using list as a variable name since it's a built-in type.
for
list