#ottit #pythontutorial
String Indexing , Slicing in Python
1.String is a collection of characters
2.Created using single , double , triple quotes and str()
3.Characters can be duplicate
4. Insertion order is preserved
5. Supports indexing , forward (positive )and backward (negative)
6. Each character is identified by index value
forward index (positive) , starts from zero and ends with string length minus one (len(string) -1) in the direction left to right
7. Backward index (negative), starts with -1 and ends with –length in the direction right to left.