Interview error pls help

What is wrong with this code , it says there is a empty space where there should be code