Coforge Interview Question

Basic theory relayed to api and python