# Python Basics 1.3 Slicing Issue

**URL:** <https://forums.cybrary.it/t/python-basics-1-3-slicing-issue/647315>\
**Category:** General\
**Created:** [January 23, 2026, 4:53pm UTC](https://forums.cybrary.it/t/python-basics-1-3-slicing-issue/647315 "2026-01-23T16:53:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ToughAnaconda2240](https://forums.cybrary.it/user_avatar/forums.cybrary.it/toughanaconda2240/32/46111_2.png) [@ToughAnaconda2240](https://forums.cybrary.it/u/ToughAnaconda2240)\
**Post date:** [January 23, 2026, 4:53pm UTC](https://forums.cybrary.it/t/python-basics-1-3-slicing-issue/647315/1 "2026-01-23T16:53:44Z")

</div>

Hi. I have tried to slice the string multiple times using the “print” command, “slice” command, and tried several different variations for numbering the elements to align with the word “Happy” in the string. I cannot seem to figure out where I’m going wrong to not be able to get the final point for the flag. Attached is a screenshot (but, as I’ve said, I have tried to use ‘slice’ instead of ‘print’, and I have tried 10:15:1, 11:15:1, etc.) Any hints would be greatly appreciated!

 ![screenshot](https://forums.cybrary.it/uploads/default/original/3X/1/3/13a9d2246adc7386ce5a55454d77db71ab3faaa3.jpeg)

---

<div class="post-metadata">

**Author:** ![JosephWhite](https://forums.cybrary.it/user_avatar/forums.cybrary.it/josephwhite/32/2407_2.png) [@JosephWhite](https://forums.cybrary.it/u/JosephWhite)\
**Post date:** [January 23, 2026, 5:59pm UTC](https://forums.cybrary.it/t/python-basics-1-3-slicing-issue/647315/2 "2026-01-23T17:59:52Z")

</div>

Remember, string array indexes start at 0 not 1. Also you have to shoot over the last index by 1 because “reasons”.

According to Google AI…

“The slicing syntax is defined as `start:stop`, where the slice includes all elements from the `start` index up to, **but not including** , the `stop` index [1, 2].“

So you just have to adjust you start index, your stop index is good.
