IBM interview question

Basics of python and c