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
My description excluding the examples even has sum in it.
It is pretty clear. The examples find how many values of
n
that exist. The commented out parts list out the consecutive integers.'x)
done ;)
(note: don't forget to state the language you're using, in this type of case, because that part of the description depends on it)
You can log inputs to console. For java:
System.out.println()
, for JS:console.log()
, etc...