List[object] object has no attribute index

Good day!
I am struggling with the folllowing problem:

Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File “”, line 14, in
AttributeError: ‘List [object]’ object has no attribute ‘index’

How to eliminate it?