Barclays interview question

Python If conditions Advanced linux