Correct option is D
The correct answer is (d) Mutability
The key difference between a string and a list in Python is mutability.
Strings are immutable, meaning once defined, their content cannot be changed.
Lists are mutable, meaning their elements can be modified, added, or removed.
Information Booster:
• Strings store a sequence of characters, enclosed in ' ' or " ".
• Lists can hold mixed data types (int, float, string, etc.).
• Both support indexing, slicing, and len().
• You can concatenate both using + operator.
• Use list() to convert a string to a list of characters.
• Strings are more memory efficient when data doesn’t need modification.