Mar-29-2020, 08:13 PM
If the empty strings had a space, so not really empty, then you iterate through each of them using a for loop and add it to an already created string variable, like with the list code that I showed you.
string += character
but from the looks of it, the empty strings, are well, empty. So when iterating through all the characters, write an if statement that if the string is empty, add a just a space, else, add the character. Since your new to coding it's best for you to try making the code yourself this time.