KnowledgeBoat Logo
|

Informatics Practices

Which of the following statements is correct about list?

  1. List can contain values of mixed data types.
  2. List can contain duplicate values.
  3. A list with no elements is called an empty list.
  4. All of these

Python List Manipulation

2 Likes

Answer

All of these

Reason — Lists in Python can contain values of mixed data types, such as integers, strings, and floats. They can also contain duplicate values, meaning the same value can appear more than once in the list. Additionally, a list with no elements is called an empty list, represented as [].

Answered By

1 Like


Related Questions