Don't understand the else in for loop


#1

In this code from https://www.codecademy.com/courses/python-beginner-en-cxMGf/2/4:

fruits = ['banana', 'apple', 'orange', 'tomato', 'pear', 'grape']

print 'You have...'
for f in fruits:
    if f == 'tomato':
        print 'A tomato is not a fruit!' # (It actually is.)
        break
    print 'A', f
else:
    print 'A fine selection of fruits!'

I don't understand what the else does. Please tell me if this should be in corner bar.


#2

To answer your question, the else statement prints out the string "A fine selection of fruits!" if f does not equal tomato.