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 (2016, retired 2019) Slices Deleting slices

aditya yadav
aditya yadav
1,505 Points

Can anybody explain the answer?

how the answer is false

Chris Freeman
Chris Freeman
Treehouse Moderator 68,441 Points

Can you be more specific on which question you refer to?

1 Answer

Steven Parker
Steven Parker
231,236 Points

When replacing a slice with another iterable, the replacements don't have to be the same size.

This was explained and demonstrated in the video Deleting or Replacing Slices