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
Updated on 30-Jul-2019 22:30:22

Advertisements