Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Python Collections (Retired) Slices Deleting Or Replacing Slices

Ronnie Barua
Ronnie Barua
17,665 Points

what are the three parts of slicing?

Please correct me. I always thought 3 parts of slicin' - start: stop: stride or stop

5 Answers

Kenneth Love
STAFF
Kenneth Love
Treehouse Guest Teacher

The third part is commonly called "step".

Ronnie Barua
Ronnie Barua
17,665 Points

Thanks Kenneth! I have tried that too and was rejected that's why I came to forum. Guess I'll try again.

Kenneth Love
Kenneth Love
Treehouse Guest Teacher

Should be "start", "stop", and "step". I'll double check, though.

Ronnie Barua
Ronnie Barua
17,665 Points

Unfortunately, it didn't work probably because I didn't put them in quotes. I'll try again. Thanks again.

Kenneth Love
Kenneth Love
Treehouse Guest Teacher

I just did the quiz myself, put in those three answers, with no quotes, and it passed. Double-check your spelling and make sure they're all lowercase?

Ronnie Barua
Ronnie Barua
17,665 Points

No, system doesn't accept what you wrote above.

Ronnie Barua
Ronnie Barua
17,665 Points

Thanks a lot. I've finally passed.