Depend on what is your target.
Do you become a back-end or front-end developer?
Two languages have great possibilities with python you can write scripts for machine learning, data science, security, crypto, automating things, also you can create a web, desktop, terminal apps, robots, and games.
Programming languages have pros and cons but remember a language is only a tool, you can choose any programming language. The important is to resolve problems and make things.
I choose python I am interested in Data Science and IA.