You can use `range` with one argument, and it will assume that you're starting at zero.

Also, since you're not using the `delete` variable for anything, you can replace it with an empty matcher:

    for _ in range(len(components_dictionary)):