"""A demonstration of reassigning elements in a list"""

ell = [False, 1.0, 2, '3']
print(ell)
print(type(ell))
print('-----------------------------------------')

ell[0] = True
print(ell)
ell[1] = 'this replaced the float 1.0'
print(ell)

# This will not work because strings are not mutable
text = 'No Patrick'
text[0] = 'Y'
print(text)
