Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
I don't think I've seen any best practice for spacing parameters, although method 1 is intuitively correct as you said.
Functions don't really care about extra spaces between parameters, so it won't cause any problems whatsoever. Also with popular use of linting and formatting tools like ESLint and Prettier in the industry today, this makes this even less of an issue.
This comment is hidden because it contains spoiler information about the solution
It's a Javascript thing. We don't do that here
its the most 'pythonic' way to do it, so people mark it as best practices