Question: When you call a method like . lower ( ) to alter a string, what happens to the string you are trying to modify? Group

When you call a method like .lower() to alter a string, what happens to the string you are trying to modify?
Group of answer choices
It is changed by the method, and the changes persist
It remains unchanged by the method; instead, a new string is created with the modifications applied
It is moved to a new variable

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!