Why are Python strings immutable?
Correct answer
C. Operations return new strings, making them hashable and safe to share
11 views
C. Operations return new strings, making them hashable and safe to share
11 views
Immutability allows strings to be dictionary keys and enables interning.
Asked in: Python Interview Strings
https://docs.python.org/3/library/stdtypes.html#string-methodsNot sure why the answer is C? Ask here and get an explanation.