Computer Science, asked by 8050119167s, 8 months ago

14. What is negative indexing? Explain with an example in python​

Answers

Answered by Anonymous
5

Answer:

FOLLOW me..

Explanation:

Python programming language supports negative indexing of arrays, something which is not available in arrays in most other programming languages. This means that the index value of -1 gives the last element, and -2 gives the second last element of an array. The negative indexing starts from where the array ends.

Answered by diyaritu7
0

Answer:

Python programming language supports negative indexing of arrays, something which is not available in arrays in most other programming languages. This means that the index value of -1 gives the last element, and -2 gives the second last element of an array. The negative indexing starts from where the array ends.

Explanation:

plz mark me as a brain list I want

Similar questions