Question Detail
Question
Why does `name[0] = "J"` result in a `TypeError` when `name = "Python"`?
Correct Answer
Option B is the correct answer.
Detailed Explanation
The document explicitly shows this example:
name[0] = "J" # CRASH! TypeError!. It explains that 'Immutable means a string cannot be altered once it's created in memory,' so you cannot change individual characters directly by assignment.
Hint
Refer back to the 'Strings are Immutable!' concept.