None can be classified as being better than the other just depends on your use case. If you're building for the web, then JavaScript would be a better option as it is widely used on that platform. If you're going into data Science or machine learning then phyton would be a better option as it is widely used and supported for such platform. Both languages are multi purpose and if you have the time learn both, One after the other though. That's what i plan to do