- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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.
Advertisements