I have a string that is a sentence. There are eight words in the sentence. What I'm trying to do, is take the third, forth, and fifth word the sentence. I have tried using indexing such as:
string[3][4][5]
But this raises an IndexError
. What am I missing here?