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.
Because the input is not exactly
"a"
. Not a kata issue. Read this post: https://www.codewars.com/kata/567bed99ee3451292c000025/discuss/python#6315c885c3268c005833a8dbthere is a test with 'a' that should return True but it returns False
OMG, i'm very stupid
2001 rate! Yeah!)))))
Yes, this type of floating point verification is asking for such issues:
Instead, a tolerance of
1e-6
should be used.isn't this possibly an
issue
?This comment is hidden because it contains spoiler information about the solution
It's not so much about exactly how many decimals, it's about whether it is a valid solution or not. It simply doesn't seem okay to allow for any solution to sometimes pass a kata.
This comment is hidden because it contains spoiler information about the solution
Nice kata!
Maybe it is not 8 kyu?
This comment is hidden because it contains spoiler information about the solution
The kata description could be more Python-oriented for sure, but the instructions themselves are fairly clear and straightforward. Additionally, there's already another issue addressing this, making a second issue seems redundant.
This is the perfect example of why i hate this whole coding challenge stuff. 8 kyu my a**.
reviewed, changed slightly, approved.
Loading more items...