Some links that might be helpful for this story.

List comprehensions

List indexing and slicing

Enumerate method

namedtuple

Copyright 2022 Robin A. Reynolds-Haertle