The Weekly Challenge: The Common Beauty

Simon Green
Weekly Challenge 375 Each week Mohammad S. Anwar sends out The Weekly Challenge , a chance for all of us to come up with solutions to two weekly tasks. My solutions are written in Python first, and then converted to Perl. Unless otherwise stated, Copilot (and other AI tools) have NOT been used to generate the solution. It's a great way for us all to practice some coding. Challenge , My solutions Task 1: Single Common Word Task You are given two array of strings. Write a script to return the numb