When a List is Not Enough- Python Arrays

K. N
Python in Plain English
4 min readNov 7, 2020

--

(Image Source)

As a beginner in Python, lists have to be my favorite objects to work with. List comprehension reduces multiple lines of code to one line. However, if you have to work with big data, lists may not be the most efficient objects to work with. Therefore we need a more efficient alternative. Say hello to Python arrays.

Arrays behave much like lists but the content is type constrained. You have to…

--

--