iterate over every alternate character in string python code example
Example: iterate over every alternate character in string python
sentence = "The quick brown fox jumped over the lazy dog."
sentence[::2]
sentence = "The quick brown fox jumped over the lazy dog."
sentence[::2]