What is the homogeneous list in Python list?


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.

Updated on: 30-Jul-2019

827 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements