An IndexError occurs when accessing a list index that doesn't exist.
Fix get_last_n_items to handle cases where n > length of list.
Run your code to see output
Click "Submit" to check your answer