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 trialHanna Han
4,105 Pointsrevers_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
231,275 PointsThe 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.