The instructions state "However, if 0 heads and 0 legs are given always return [0, 0] since zero heads must give zero animals." For Python, this is not correct. The test cases require (0,0) not [0,0].
Straight up gangsta!
So simple.. Love it!
Thank you, it helps!)
WOW! This is beautiful! <3
this is a nifty, concise little piece of code. join() takes the elements of the integer array and makes them a string, then to_i() takes that string and converts it to binary (based on the arg 2). done. I saw your question and solved this in ruby using a version of my C code just so I could see what you were asking about... so clearly this solution shows what you can do when you really know the language
I am new to coding in general. I was able to successfully complete this challenge, though it seems to be done in a long winded way. Can someone explain how this is working?
I think that the point of this kata is try to resolve it without using these functions.
calling query.lower() in each iteration is not efficient.
Can't be changed.
I think this Kata should be a Kyu 6 or maybe Kyu 5. In comparison to other Kyu 7 Katas it is costly.
I get an error when submitting this code- anyone know why?
Nice work on the polymorphism!