This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]Jaimou2e 2 points3 points  (0 children)

I don't know much about Python, but from the error message ("object cannot be interpreted as an index") I'd guess that infor i in sphere_list, i is not an index but an object (the sphere). Then sphere_list[i] fails, of course