Which Python data structure is suitable for storing multiple data types and allows duplicate elements?

  • Dictionary
  • List
  • Set
  • Tuple
In Python, a list is a versatile data structure that can store multiple data types and allows duplicate elements. Lists are ordered and mutable, making them suitable for a wide range of use cases.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *