QuestionQ13Verified/Data SerializationCopy linkReport a problemAsk AstroTutorSave questionWhich two Python data types can be changed after they have been created?Choose twoAintegerBdictionaryClistDstringShow AnswerAnswerExplanationIn Python, data types are classified as mutable or immutable. Lists and dictionaries are mutable, meaning their contents can be altered in place (items added, removed, or changed) without creating a new object. Integers and strings, by contrast, are immutable — any operation that appears to modify them actually creates a new object in memory rather than altering the original.Learn morePython Data Structures — Python 3 documentationShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion