There is a written piece of code :
The idea is to iterate an array in a loop, if a match is found for elements from two arrays, create a new array with ordinal index n and add the following elements, which are iterated in a loop, to the previously created array coorsinates[n] , before the next match in if loop.
Now the code gives an error of the form:
Traceback (most recent call last): File "python", line 25, in <module> TypeError: 'NoneType' object is not callable If necessary, I will clarify the essence of the issue if I have written insufficiently clearly.
mulfunction does not return anything, trying to access anything as a function will naturally lead to an error - andreymal