The Trade Desk Interview Question

implementing linear interpolation in python