Refer to the CODE and OUTPUT below. There is no OUTPUT for the third print statement. An altered print statement in its place such as print(long_word[3:7]) gives output (elin).
# [ ] print the first 4 letters of long_word
# [ ] print the first 4 letters of long_word in reverse
# [ ] print the last 4 letters of long_word in reverse
# [ ] print the letters spanning indexes 3 to 6 of long_word in Reverse
long_word = "timeline"
print(long_word[:4])
print(long_word[3::-1])
print(long_word[3:7:-1])
print(long_word[-1:-5:-1])
OUTPUT
time
emit
enil
What gives? The situation of this question also raised in link below. It is unaddressed as of now.