Question: for i in range(len(teststring)): teststring[i]=teststring[i]+1 Does this snippet of code work? Why or why not? (Hint: be careful to use only the information that is
for i in range(len(teststring)):
teststring[i]=teststring[i]+1
Does this snippet of code work? Why or why not? (Hint: be careful to use only the information that is given...remember this comes from a larger section of code but you don't necessarily know what that code does...)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
