IBM Interview Question

Basics of python and c