Please link to the duplicate when commenting.
Κρίμα που το cmp command καταργήθηκε!
since the author has left codewars i've rewritten the kata to include random tests
please ping me if anything is wrong
random tests added
I'm new to this, I get it. But honestly I could not make sense of what was being asked or what the objective was with the inputs provided.
Needs random tests.
The kata setup really needs to be rewritten. For starters, everything in user code should be wrapped in a class. Currently variables are operated in global scope ;-(
Python 3.6 should be enabled.
cmp is not necessary to solve this at all. New hint: list index values.
Python 2 has died, and the cmp command has been been deprecated for quite a while, yet here we are. Well done on the attention to upkeep! slow clap
Can we verify that the cmp function cannot be used here any longer in Python? If that is the case, is there an effiecient way to complete this kata without implementing all comparitors separately?
I'm passing all 3 sample tests but not passing any of the submission tests. New at this and not sure what to do. Also seems hint below (cmp function) doesn't work. Thanks for any help!