"""
Literal collections

A collection is a group of items

1. list
2. tuple
3. set
4. dict  (dictionary)

"""

a = 1
b = 2
x = 55


# list
array_odd = [1,3,5,7,9,10]

odd0=1
odd1=3
#

# len()
length = len(array_odd)
print(array_odd)
print('length=',length)

# index - position of item in the list
# index starts from 0

# access element by index
# item, element
print('The #0 item of list is', array_odd[0])
print('The #1 item of list is', array_odd[1])
print('The #2 item of list is', array_odd[2])
print('The #3 item of list is', array_odd[3])
print('The #4 item of list is', array_odd[4])

# update value of item in a list
array_odd[5] = 11
print(array_odd)

a = 1
a = 2





