Python is not better in every way, it’s just more general-purpose, so has a wider range of applicability.
Also more people use it, though by that logic we should all be forced to use Windows bc everyone else does as well?
And Perl both still exists and is actively maintained, so it “lost prominence” rather than “died”.
Fair - and in fact doubly so bc even code that is readable in a language that someone else does not know (well) isn’t so “readable” by definition. i.e. “readable by someone who knows the language” != “readable by most developers”.
Though having to rediscover how our code works is something shared by all languages. Perl does allow the worst there though.