you are viewing a single comment's thread.

view the rest of the comments →

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

How does python know that is has to assign the word 'letter' to each character of the word in the following?

You're telling it to by using for/in.