Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Python Python Collections (2016, retired 2019) Slices Slice Functions

revers_evens to revers_events on 4th task at slice.py?

I think the name of function should be changed from revers_evens to revers_events on 4th task on slice.py. It is quit more logical for people to take rever_events instead of revers_evens in general even if people have to take the name given on the task of course.

1 Answer

Steven Parker
Steven Parker
215,958 Points

The instructions say to "Return every item in the iterable with an even index...in reverse."

So the name refers to "evens" because they are the items with even index numbers.

An "event" is something that happens at a particular time, which would not describe the purpose of this function.