Week three exercise

Please can someone explain to me what this error means

IndexError: index 2 is out of bounds for axis 0 with size 2

thanks

Hello @saminu
This means that you are referring to the index of an array that does not exist. For example:- the array has size 2 (indices 0 and 1) but you are trying to access the 3rd element which has index 2.