Coforge interview question

Basic theory relayed to api and python