Anonymous Interview Question

python which I have never workef before