Enphase Energy interview question

Python and Power electronics questions