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.
Re-raising the issue below:
You completely missed the point. I only pointed
bounce_count(0, 9.80, 9.81, math.radians(45))
as an example; your code still returns incorrect result forbounce_count(0.1, 9.81, 9.81, math.radians(45))
, or similar cases.Also your formula doesn't even pass the sanity test: your formula would imply
bounce_count(h, w, v, theta) == bounce_count(h, w, v, -theta)
, but intuition already tells us that shooting upwards with a high velocity will always land farther than shooting downwards at the same angle. So this cannot be correct.(FFS, if you don't even bother checking your maths writing a kata that asks for a well-known formula, and clearly don't even understand the formula before writing a kata about it, then why should we test your kata...)
Hi, first of all nice idea.
However there are some aspects that must be addressed by you!
Wording is not uniform and therefore very confusing: Title
Array Mirroring
vs. Function Namealter_image
vs. Test DescriptionMirror Shift
and more ...As per https://docs.codewars.com/languages/python/authoring#reference-solution you must not publish your reference solution in the
Attempt
test cases, but rather avoid that or at least move it to the local scope of a test function. For more details about this topic, review the documentation linked above.Reversal of Iterables in Python has been addressed by many katas so far, whether for string, integers, lists of integers or lists of strings. Although you avoid to use the word "reverse" as much as possible in the kata description, I encourage you to strongly confirm that your kata is not a duplicate (for instance among https://www.codewars.com/kata/search/python?q=reverse&r[]=-8&r[]=-7) and that your kata actually produces a contributiong / added-value.
The user can modify the input.
Sample tests are missing testing-related imports and are using the old test framework.