Others have answered correctly that the evolutionary pressures change over time so exact species don’t evolve twice (though you do get similar parallel evolution in some cases Carcinification).
Just to add: dinosaurs technically are not extinct as scientific consensus is that dinosaurs evolved into birds, meaning birds are dinosaurs. If we want to get pedantic (and it’s Reddit, so we do) the asteroid 65 million years ago ended the “non-avian dinosaurs”, but some dinosaurs survived and still thrive in the present-day, specifically the avian dinosaurs, or birds.
Latest Answers