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.
https://peps.python.org/pep-0008/
Thank you!
code inside of JavaScript classes runs in strict mode. In strict mode, using an undeclared variable throws an Error instead of creating a global variable with that name. Since you did not declare
number
withvar
,let
orconst
, your code failsThis comment is hidden because it contains spoiler information about the solution
Gotcha, thanks for the reply!
The level is not set by me. It's set more or less by beta testers.
This is an awesome kata but I would argue it's closer to a 6 or even 5kyu. Do others think it's harder than 7?
Can someone who thinks this is an example of best practice explain why they think so?
Wouldn't it make more sense to be explicit with each number rather than factoring simply because you can? If the issue is with readability with long numbers, why not just use underscores? Thank you!