Terralogic Interview Question

Basics of Python, some string based question