Negative Index in Python

IntroductionNegative Index in Python

In this article, I shall be explaining negative indexes in Python. But first, we have to know these prerequisites: iterables and indexing. Having a fair knowledge on these two are paramount to understanding how negative indexes works.
So we shall be looking at the following:

IterableIndexingNegative indexesPictorial illustration of negative indexesCode examples of the use of neagtive index in a list iterableBenefits of negative indexes



Iterable

An iterable is an object that ...

 •  0 comments  •  flag
Share on Twitter
Published on December 07, 2022 08:46
No comments have been added yet.