Mechanical engineering vs computer science

You really need to code to see if you can envision doing that day in day out for the rest of your life. MEs code too, but that’s not their sole existence. I would strongly advise you to sign up for Code Academy (or similar site) and take a beginning course in Python. Pound it out on the weekends if your school schedule is busy. You will find the insight invaluable.