Solution: Turning a List of Phrases Into an Array of Strings
Let's look at the solutions to the exercise given in the previous lesson.
We'll cover the following...
We'll cover the following...
Solution #1
Alright, ready on your side?
The first solution we could think of is the following:
Assuming a text file with the exact same content as the one shown on the diagram above, here is the output that we get:
Notice how the output shows the code we wanted. However, we’re also being affected by the ...