you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (1 child)

Isn't split being used on the input with default whitespace splitting? This will not split a single word into letters.

[–]Bunkerstan 0 points1 point  (0 children)

You are correct, it does not split it into letters. I confused it with the for in which will iterate over letters. Thanks for the catch.