CBSE Class 11 Informatics Practices
Question 36 of 80
Lists in Python — Question 14
Back to all questions[7]
Reason — The slice number[2:3] extracts a subset of the list starting from index 2 (inclusive) up to, but not including, index 3. In this case, index 2 corresponds to the element 7 in the list number. Therefore, number[2:3] results in [7].