QuestionQ285Verified/Data Collections – Tuples, Dictionaries, Lists, and StringsCopy linkReport a problemAsk AstroTutorSave questionWhich code snippet below will print the following output to the monitor? ABCDShow AnswerAnswerExplanationFiltering the list with if len(d) == 4 prints only the four-character strings: Paul, Mary, and Jane. Peter is not printed because it has five characters.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion