What is the output of the following code ?
list1 = [4, 5, 6] print(list1[4])
TypeError
ValueError
NameError
IndexError
Index value 4 is not available in the list, it will raise IndexError
Comment here: