# A tuple is a collection which is ordered and unchangeable. Allows duplicate members.
# create a tuple
fruits = ('apples', 'oranges', 'grapes')
# using a constructor
# fruits2 = tuple(('apples', 'oranges', 'grapes'))
#single value needs traling comma
fruits2 = ('apples',)
# get a value
print (fruits[1])
# can not change value
# fruits[0] = 'pears'
# delete tuple
del fruits2
# get length
print (len(fruits))