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.
how you change input name and get away with it
its for readabilty
drop the variable just return the calculation
? true : false is redundant.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
what is akk and why did you add it as a parameter?
the while (true) and the return condition combined brings a tear to my eye
the 2 strings and the int are totally unnecessary
beautiful
Was this supposed to be funny? A quote from I guess some terrible english series that aroung 500 people watched?
you're right. when I started it felt a lot safer to see true/false in my code (mainly to see what I did there) but I guess I could drop it now
You could just return the comparison, instead of comparing and returning true of it evaluates true
Altough for the first look I found this solution ugly, it's fast and simple.
I had the same annoying issue.
Loading more items...