I have a python code with nested loop, where each element (in this case, coordinate) from the list will used to call a function.
list1 = [(2, 16), (24, 26), (25,