Login and Register ×
Check your Email for the OTP
Python Programming Language MCQ Python Tuple MCQ
⚠ Report ✓ Question Verified Copy Link
aTuple = (100, 200, 300, 400, 500) print(aTuple[-2]) print(aTuple[-4:-1])
Explanation:
Use the range of negative indexes to start a search from the end of the tuple.
Related Topic:
Share Above MCQ
Learn More MCQ Questions from Python Programming Language MCQ Python Tuple MCQ