Your phone does go back to its default if you don't have preserved settings turned on. So I'm just going to explain how to turn those on and what I have turned on.
We get pint. Now here we also have default values for the start and end index. So if we don't supply the end index, Python will return all the characters to the end of the string.