Python Programming

I am not able to figure out the problems in this code. kindly help me to remove these errors. thank you.