Why strings are immutable in python?
Answers
Answered by
2
one is performance , knowing that a string is immutable makes it easy to lay it out at construction time - fixed and unchanging storage requirements.
Answered by
236
Tuples are immutable i.e the value cannot be changed. So, Option D is correct.
Similar questions