1. Characters in a string can be accessed using the standard [ ] syntax, and like Java and C++, Python uses zero-based indexing, so if the str is 'hello' str[2] is:
2. What is the output of the following code?
3. Here we have used a negative index. What does this output?
4. What does the following program do?
5. A unicode string is a different type of object from regular "str" string.
6. What is the output of the following code (for loop on a string)
7. In the following program, if the substring is not present, the program will return:
8. What is the output of the following program on which a start and end location have been used to manipulate the string?
9. Analyse the following code that uses the 'len' method. What does it do?