Pi interview question

Unexpected test