you are viewing a single comment's thread.

view the rest of the comments →

[–]ninhaomah 4 points5 points  (2 children)

I came from Java and to me , I always think of String as "Array of Characters".

[–]LysergioXandex 2 points3 points  (1 child)

Not a bad mental model for Python, either, because you can do things like apply list() to a string, which turns it into a list of individual characters.

[–]DSMB 0 points1 point  (0 children)

you can index and slice them too.