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.
This comment is hidden because it contains spoiler information about the solution
this cheat from chatGPT !!
or super clever
Hey I learned this today too! 3 years later though...
new test framework should be used (python 3.8 enabled)
Actually, there is no unnecessary computation here. min(numbers) is simply repeated both in the if and else conditions. Only one of them gets executed, though.
Yes, it does. I mark it as resolved.
There was indeed a bug. Please, check that it works now.
Python: sometimes in random tests None is expected, but if I print the dict and the target value (print(d, target)), the value is actually in one of the lists. Some examples:
Log
{'jiqhozzbwf': [547, 845, 29], 'arzkmizkpc': [438], 'rtfqoijs': [282, 935, 535, 375, 368, 408, 798, 748, 332, 273]} 748
'rtfqoijs' should equal None
Log
{'ssqjocbs': [242, 345, 930], 'tpyrqjvqz': [708, 416, 670, 350, 616, 40, 964, 238, 370, 380], 'phwla': [374, 134, 655, 987, 389, 584, 896, 369]} 987
'phwla' should equal None
Well Done!
Sorry, I put it there to check the case and I forgot to remove it! It's been removed now.
Tests should not log cryptic stuff.
The individual letters of the input should have random case -> done, please approve forked version
May I have a detailed explanation of why this was rejected? Otherwise I cannot learn from my mistakes...
Loading more items...