fruit = 'banana'
index = 0
while index < len(fruit) : #reverse traversal
    revindex = -1 * index - 1
    letter = fruit[revindex]
    print(letter)
    index = index + 1

#for letter in fruit : #more simple way to do the straight print
    #print(letter)
