Also i think an array is a collection of homogeneous data-types which are stored in contagious memory locations, on the other hand, a list in Python is collection of heterogeneous data types stored in non-contagious memory locations.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Python lists are written in C as well: github.com/python/cpython/blob/mas...
The iterator protocol is in C too: github.com/python/cpython/blob/mas...
The sum function, as most builtins, is written in C as well github.com/python/cpython/blob/c00...
;-)
Also i think an array is a collection of homogeneous data-types which are stored in contagious memory locations, on the other hand, a list in Python is collection of heterogeneous data types stored in non-contagious memory locations.