Login and Register ×
Check your Email for the OTP
Python Programming Language MCQ Python Errors and Exceptions Handling
⚠ Report ✓ Question Verified Copy Link
x = [1, 2, 3, 4] print(x[4])
Explanation:
--------------------------------------------------------------------------- IndexError Traceback (most recent call last) Input In [66], in () 1 x = [1, 2, 3, 4] ----> 2 print(x[4]) IndexError: list index out of range
Related Topic:
Share Above MCQ
Learn More MCQ Questions from Python Programming Language MCQ Python Errors and Exceptions Handling