C-DAC interview question

Python questions, Machine learning model working.