names = ['John', 'Bob', 'Mosh', 'Sarah', 'Mary']
print(names[2:4])

names = ['John', 'Bob', 'Mosh', 'Sarah', 'Mary']
names[0] = 'Jon'
print(names[:4])

index_bob = names.index('Bob')

print(index_bob)

names.sort()

print(names)
