Computer Science, asked by sanasona9008, 3 months ago

How to create a list in Python? Illustrate the use of negative indexing of list with
example.

Answers

Answered by sobiya005
8

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.

Similar questions