Wolseley UK interview question

Basics on Python and SQL.