You have strings
“aaaaa”
“bbbbb”
“ccccc”
“ddddd”
Now you want to generate the string:
“abcdabcdabcdabcdabcd”
How would be the fastest way to do it?
PS. This is a very simplified example. I really need to generate the new string from the existing smaller strings.
If the strings are of equal length you can use zip: