"""
Spot the error

Being able to read and recognise an error message 
is important part of learning a programming language.
"""
fruits = ['apples','oranges','watermelons']
print(fruits[3])

# Output:
#     print(fruits[3])
# IndexError: list index out of range

"""
If you mention an index out of the range of the list 
you will see an IndexError
"""