What “lost”? They’re both Top 10 most used languages with tens of thousands of open positions currently available for someone competent in either.
Python’s the more frequently used of the two industry-wide, but it seems like they both won, just with different crowds.