Knowledge Components for Collection Based Iteration in Python