
Procedure is as follows:

Don't know this prompt IndexError: list index out of the range is what meaning, I separate input nodes and the corresponding coordinates are verified, the corresponding amount... Really can't figure out where there is a problem... Consult,