Your question is Classification vs Regression. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Difference between Classification and regression
Explain how classification and regression differ in their target variables, outputs, objectives, common algorithms, and evaluation metrics. Demonstrate both tasks with a small scikit-learn implementation, including model training and appropriate metric selection.