What is the homogeneous list in Python list?

PythonProgramming

There is nothing like homogenous list in Python. The python docs just suggest to use lists for homogenous data. Qouting the docs

Lists are mutable sequences, typically used to store collections of homogeneous items (where the precise degree of similarity will vary by application).


You can very well use lists for heterogenous data as well.

raja
Published on 18-Apr-2018 09:13:45
Advertisements