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.
What does a negative ratio and a negative target value means in the context of this kata? Is it even specified? Does it even make any sense to expect any values?
Reference sometimes (albeit very rarely) fails at some boundary cases in random tests:
Such edge cases should be added to sample tests as well.
a
parameter is pointless if1
is always passed in as the argumentRounding prevents correct float comparision.
Return floats with max precision and compare with test.assert_approx_equals or math.isclose
Sample test doesn't work properly, the img in the description is dead, bad
explanation of a geometric progression from my point of view.
Returning different data types is bad practice, consider changing returning
'No Solution'
for an invalid sequence toNone
(author seems to be inactive)The image in the description is dead.
the given test case only test a certain index values and not random indices
getting r only works with index one and zero
This comment is hidden because it contains spoiler information about the solution
Kata solution expects user to have imported
math
module. This should be imported by the solution, not by the user.Please clarify that there is at least 1 root.
Duplicate.
You should add as prerequisite that all sequences tested will have more than two elements.
Loading more items...