what is forward indexing and backward index in python
Answers
Answered by
10
Explanation:
In Python, the characters of string can be individually accessed using a method called indexing. ... Forward indexing starts form 0, 1, 2…. Whereas, backward indexing starts form −1, −2, −3…, where −1 is the last element in a string, −2 is the second last, and so on.
Answered by
9
Answer:
hey mate your answer my dear friend and please mark it brainlist i hope it helps you
Explanation:
In Python, the characters of string can be individually accessed using a method called indexing. ... Forward indexing starts form 0, 1, 2…. Whereas, backward indexing starts form −1, −2, −3…, where −1 is the last element in a string, −2 is the second last, and so on
Similar questions