Glitch in CodeAcademy test for checking if code is correct


When making the final function in this exersize, the way the site tests to make sure your code is correct enters (Insert City Here,Insert Days Here) which is fine, until someone tries to make the code take the days first, and then the city second. The checker will throw an error that makes you think something is wrong with your code, which there isn't, it's the checker. Not a huge problem and easy to fix if you know what's wrong, but for the longest time I didn't, and I know I got very frustrated trying to fix it.


The order is significant to the function's behavior, so if an order is specified, then it should be followed.

It's technically possible to circumvent the order and send arguments by name instead, but typically it's the order that's used to determine what's what.