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.
Rounding numbers up is a bad idea; depending on the order of operations floating point errors can cause problems.
Python: Input parameter should be named something else:
input
is a built-in function.Translating a string is a duplicate to many katas.
Trivial map/filter/reduce is not a novel idea.
Returning different data types is a bad practice. It only results in additional code in the calling function and doesn't really have any benefits.
Use appropriate datatypes.
The number of logs and the number of models should be combined into a tuple, not an array. ( Other languages exist that have to implement tuples as arrays, but Python is not one of them. ) That makes the first argument an array of tuples, and absolutely not a 2D array.