I want to know how I can print multiple links in one line transforming them from being in a separate line to having spaces between them and putting them on the same line.
Example:
https://www.google.co.uk
https://www.google.co.uk
https://www.google.co.uk
I want it to print this instead:
https://www.google.co.uk https://www.google.co.uk https://www.google.co.uk