Python, Programming, Python3, Machine Learning, Computer Science.
of range. >>> list = [1,2,3] >>> list[4] Traceback (most recent call last): File "<stdin>", line 1, in <module> IndexError: list index out of range TypeError : Raised when an operation or function is applied to an object of inappropriate type >>> '2' + 2 Traceback (most recent call last): File