Wipro interview question

Coding on python for missing values