Trouble pushing array line by line instead of as one giant list

Are you sure that’s what you want? What about the words themselves, don’t you want to store them?

You asked the same question last month, and many other related questions since then. I think you got pretty good advice in your previous topic to use a dictionary, and it looked like you were on the right track. However, the code you present here and in your other recent topic on splitting an array of strings, indicates that things are now moving in the wrong direction, and you seem to be asking questions that were already covered in your previous topics.

At the risk of being rude, I would suggest going back to your previously started topics, and make sure you understand the suggestions you were given, and all the sample code that was given to you (every single expression!). I think that’s one of the more efficient ways of improving as a developer.

4 Likes