QuestionQ23

Data Serialization

Which two statements are accurate about the Python list data type?

Choose two
  • A The data contained in a list data type can be modified.
  • B The data contained in a list data type is sequenced and indexed starting from 0.
  • C The data contained in a list data type cannot be modified.
  • D The data contained in a list data type is not sequenced or indexed.
Explanation

Python lists are mutable ordered sequences. Their elements can be modified, and elements are accessed by zero-based indexes.

Community Discussion

No comments yet. Be the first to start the discussion!