Which of the following statements about Python strings is true?

A. Strings are mutable and can be changed easily.
B. Strings are made of a series of individual integers.
C. Strings can only hold single characters, not longer stretches of text.
D. Strings are immutable and cannot be changed in place.

3 answers

B. Strings are made of a series of individual integers.
D. Strings are immutable and cannot be changed in place.
Yes, that is correct. Strings in Python are immutable, meaning that once a string is created, its contents cannot be changed. If you need to make changes to a string, you will need to create a new string with the desired modifications.