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.
no
Thanks; I learned a new function and new method!
i knew count was a builtin function, but at the last minute i made a confusion with Counter from the Collection module, then i used a for loop to count, now im dumbfounded lol. great solution.
nice
Why i used counter i dont know :d
This comment is hidden because it contains spoiler information about the solution
Is it really a good idea? It looks like an yoyo code to me which it convert the number to string in binary representation, and then convert it back to number by counting the number of "1"s.
thank you
you need to use the spoiler flag when discussing code solutions / methods. i have added the flag to your comment
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I was just being cheeky. ;D
And yes @Mitchees I did successfully build my binary conversion function!
Why is providing a functional solution cheating? If we want to write our own binary converters we can go do this test in C!
This comment is hidden because it contains spoiler information about the solution
This is my first experience of facing coding challenge and it was so cool....
Loading more items...