iterate over every alternate character in string python

sentence = "The quick brown fox jumped over the lazy dog."


Here is what the above code is Doing:
1. We’re creating a string variable called sentence.
2. We’re using string slicing to print every other letter in the string.
3. We’re using a negative step size to reverse the string.