The given code is shown below:
animal = 'Tiger'
animal = 'L'
The first statement in the given code is correct. The second statement assigns a value to a string's individual character. Strings are immutable, once they are created, they cannot be changed.
Ask our subject matter experts your homework question and you'll be notified when it's answered.infoQuestions are typically answered within just a few hours. If your question isn't answered within 48 hours we'll credit your question back.