QuestionQ1Verified/Data Collections – Tuples, Dictionaries, Lists, and StringsCopy linkReport a problemAsk AstroTutorSave questionWhat is the expected output from the following code? AhellopeterBhello@Peter!!Chello@peter!!DNoneShow AnswerAnswerExplanationPython’s str.lower() converts uppercase letters in a string to lowercase and leaves the @ symbol and exclamation marks unchanged. The resulting printed text is hello@peter!!.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion