Slicing and skipping in Python
<p>EDIT: I should be more clear. I really want to SKIP characters/letters, so not only solve the task of getting the first and last character to show. Even if I can do that by now. [::5] seems to work though. </p>

<p>I'm trying to slice a single word in python, so I'm given the first and the last letter. According to everything I read my code should be</p>

<pre><code>word_ = "carrot"
letter = word_[0:6:4]
print(letter)
</code></pre>

<p>I understand it as the first 0 is the "c", the 6 is the "t" and the last 4 is how many characters you are skipping. The answer gives me "co". I have tried to experiment with my code but I only get the answer "co". Can someone explain to me what I'm doing wrong? I want the answer "ct"</p>