animal = 'frog'
print(animal[1:4:2])

animal = 'elephant'
print(animal[1:7:2]) # lpa

print(animal[5:]) # ant

print(animal[:3]) # ele

print(animal[3:-3]) # ph

print(animal[:]) # elephant

print(animal[-5:]) # phant

print(animal[::3]) # epn
print(animal[::-1]) # tnahpele
print(animal[::]) # elephant
