QuestionQ160

VerifiedData Collections – Tuples, Dictionaries, Lists, and Strings

Review the snippet and select the one true statement below:

Question Image

Explanation

Assignment binds vals to the same list object as nums; it does not create a copy. Appending an element through vals changes that shared list, leaving both names with the same length.

Community Discussion

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