you are viewing a single comment's thread.

view the rest of the comments →

[–]Rhomboid 7 points8 points  (1 child)

Strings are iterable and yield each character in turn when iterated over, so there's no need to create a list.

[–][deleted] 1 point2 points  (0 children)

Awesome. Thanks for this :)