C or Python for Mechanical Engineering Projects

  • Context: Python 
  • Thread starter Thread starter al_9591
  • Start date Start date
  • Tags Tags
    Python
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 3K views
al_9591
Messages
12
Reaction score
0
Hi,
I am majoring in mechanical engineering, and I have to take my first programming class, I have 2 options, a course that teaches C and another Python. Which one should I chose for ME? why? Which one do you think is more helpful for a ME major and is going to help me more in my future ME projects? Thanks
 
Physics news on Phys.org
al_9591 said:
Hi,
I am majoring in mechanical engineering, and I have to take my first programming class, I have 2 options, a course that teaches C and another Python. Which one should I chose for ME? why? Which one do you think is more helpful for a ME major and is going to help me more in my future ME projects? Thanks

You should learn both, IMO. You will program in both most probably in your future work. As for picking which to learn first, Python is probably more interesting to learn first.
 
Thanks, I'll learn Python first then.
 
I learned C first(C++ specifically) in High School. Junior/Senior year of HS I took AP computer science classes which focused on Java.

The good thing is, once you know C it's pretty easy to jump into Java and PHP if you ever need to.

I don't know Python, nor do I know much about it.