Computer Science
Lists and strings in Python support two-way indexing.
Python Data Handling
1 Like
Answer
True
Reason — Both lists and strings in Python support two-way indexing, which means we can access elements from the beginning or end of the sequence using positive or negative indices, respectively. Positive indices start from 0 for the first element, while negative indices start from -1 for the last element.
Answered By
2 Likes