QuestionQ58Verified/Data Collections – Tuples, Dictionaries, Lists, and StringsCopy linkReport a problemAsk AstroTutorSave questionReview the code snippet and select the statements that are true. Choose twoAnums is longer than valsBnums and vals are of the same lengthCvals is longer than numsDnums and vals refer to the same listShow AnswerAnswerExplanationAssignment of one list variable to another creates an additional reference to the same list rather than a copy. Slice deletion mutates that list in place, so both nums and vals remain references to the same list and consequently have the same length.Show comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion