QuestionQ237Verified/Data Collections – Tuples, Dictionaries, Lists, and StringsCopy linkReport a problemAsk AstroTutorSave questionWhich statements about tuples are true?Choose twoATuples can be subtracted using the ‒ operator.BThe for loop can be used to iterate through a tuple.CA one-element tuple can be coded as <1, > or 1, .DA tuple can be expanded using the .append() method.Show AnswerAnswerExplanationTuples are iterable, so a for loop can traverse their elements. A tuple containing one element requires a trailing comma, as in 1,. Tuples are immutable, so they cannot be extended with .append(), and subtraction is not a supported tuple operation.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion