There is no problem with the code… I just spotted a typo: this problem is about returning the last five elements, but the learn section asks for the first five elements. See below:
Learn In this problem you'll create a function, `last_five`, that given a list, returns its first five elements. Instructions Create a function, last_five, that takes a list as input and returns its **last** five elements in the same order that they appear.
hope it helps