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.
float,int
, sometimesfloat,str
) is bad practiceKata should have random tests. See docs for reference
https://docs.codewars.com/languages/python/authoring/
https://github.com/codewars/codewars.com/wiki/Tutorial%3A-Create-Your-First-Kata#write-good-tests-and-utilize-both-fixed-and-random-test-cases
No random tests.
If function output has fixes quantity of values, it's preferrable to return a tuple instead if list, in Python.
2-sum is a duplicate to many katas.
Since when
2 + 3 != 5
?And this obviously contradicts the "No answer will have more than one two-number solution" statement.