A lot of computations involve processing a string one character at a time. Often they start
at the beginning, select each character in turn, do something to it, and continue until the
end. This pattern of processing is called a traversal. One way to write a traversal is with a
while loop:


index = 0
while index < len(fruit):
letter = fruit[index]
print(letter)
index = index + 1