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.
O enunciado pede que a palavra seja dividida individualmente em cada caractere e o espaço dentro do split garante que isso aconteça.
This comment is hidden because it contains spoiler information about the solution
Simplest method of all
😂 good job
This comment is hidden because it contains spoiler information about the solution
was just testing it out, totally expected a gazillion number of errors and boom it worked
This comment is hidden because it contains spoiler information about the solution
solved at first go
Well.. that's one good thing about code wars.. You get to practice and then learn something better!
Ohh that was easy!!
Straight to the point. Good stuff!
good one
Amazing! Im so impressed with this solution!
You can initialize i to 1 as a minor optimization. Adding 0 to the sum isn't necessary.