Science, asked by Bhawanpreet7849, 1 year ago

Why strings are immutable in python?

Answers

Answered by saisathyaranipeh8kb
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 Anonymous
236

Tuples are immutable i.e the value cannot be changed. So, Option D is correct.

Similar questions