Siemens interview question

Concepts on the Python basics