Function error even though I'm correct

click the arrow next to the solution on that page to expand it. I’d rather not post the solution here and spoil it for others :smiley: