QuestionQ184

VerifiedData Collections – Tuples, Dictionaries, Lists, and Strings

Consider the second assignment:

Question Image

Explanation

Assigning to existing list indices replaces the values stored at those positions. It does not append or delete any elements, so the list’s length is unchanged.

Community Discussion

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