Barclays interview question

Basic concepts of python programming