Calsoft interview question

Basic python questions