I want to know why I cant access a list index. I have a list full of words(input) but then t try to acces for example: list[2] and I get an error.
words=[]
n =input().split()
words.append(n)
print (words])
Intput: Hi internet what up Output: [['hello', 'internet', 'what', 'up']]
print(words[0])
Output:['hello', 'internet', 'what', 'up']
print(words[1])
Output: IndexError: list index out of range