Terralogic interview question

Basics of Python, some string based question