Image source: Stackoverflow
Well, some of the reasons for this:
Python — is a general-purpose interpreted programming language that has many uses — from web applications to data analysis . This means Python can be seen on complex websites like YouTube or Instagram, in cloud computing projects like OpenStack, in machine learning, etc. (Mostly everywhere!)
According to StackOverflow Developer Survey Results 2019, Python is growing in popularity and is today the fastest growing mainstream programming language.
All of these trends indicate that Python is extremely popular and has become more popular over time. Some of the reasons for this incredible Python performance are listed below:
However, this will simply affect the relative popularity of the two languages and will not determine which one is the best language. … This choice is completely subjective and can be influenced by many factors such as project requirements, scalability, ease of learning, and future growth prospects.