Optum interview question

Working of string in python.