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.
But we can't see the return value if he wrote like this, so we still need to print the result
You can try it, if the start number is greater than the end number, the result will be an empty set, and the sum will be 0.
Great!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
That's really clever.
Great!