Pregunta de entrevista de BNY

Write the code for Supervised machine learning problem