Python Revision Tour II Solutions Class 12 CS Chapter 2 Python Revision Tour II Solutions Q 1. What is indexing in context to Python strings ? Why is it also called two-way indexing ? Ans. In Python strings, each individual character is given a location number, called index and this process is called indexing.
Python allocates indices in two direction : in forward direction, the indexes are numbered as 0, 1, 2,…. length-1