QuestionQ70Verified/Data Collections – Tuples, Dictionaries, Lists, and StringsCopy linkReport a problemAsk AstroTutorSave questionWhich of the following operators may be used with strings? in A1, 2, 3B1, 2, 4C1, 2, 3, 4D1, 2Show AnswerAnswerExplanationWith Python strings, + performs concatenation, * performs repetition when used with an integer, and in performs substring-membership testing. Subtraction (-) is not supported for strings.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion