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.
A trailing space requires a new empty "word"/string, but there isn't a word there, so why would you need to parse it?
The kata description assures neither x nor n can be zero :)
You can declare i inside the for loop header.
I'm not particularly keen on this solution. A multiplication is much more readable, and will probably get optimized to this result anyway.