Hello
Sorry about the stupidity of my question, I'm rather new to python.
I'm writing a text analysation program. It reads from a text file and creates a list called 'line' which has variable length and is a list of words. I want to make a loop that will go through from index 2 to the end and see if the words match any from another list. I can't seem to work out how to loop through from 2 to the end though. I've tried a few different ways of looping through to the end using for loops and while loops, but I end up with IndexError, or TypeError. And I have no idea how to start at 2.
I don't really know what to try now, so I'd love a few hints.
Thanks