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.
The log appears above the test result, you're confusing the error message of one test with the log of the next one.
I'm still confuse, maybe my code is just long and it cause wrong things in place but thanks for solution! I'm still not good in one line code and that dissapoints me.
And thanks i know now my wrong syntax! My wrong
The failing test is above, not below.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Is it -5 -4 -3 -2 -1 = -15? sorry if my understanding is wrong
Read the description properly:
So sum of numbers in the range of, and including,
a
andb
.Can i get some answer why i got some confusing result when i'm attempting to test it, please enlighten me.
This is the only one failed in the test.
-50 should equal -1275
Log
-1 -5 # This is the a and b
-15 # i print the sum so that i can understand why it failed
Thanks sir for your help! I really appreciate it
False should equal True
Mean that your function returned
False
while the test is expectingTrue
Also, the log for a given test appears in a box before the colored test result (at leat on my browser) so my guess is that it is in the previous test that your function is returning
False
while the test is expectingTrue
.https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution#print-input
might be helpfull
Python, all i know is that all square root numbers must be fractional to 0 to become True and if not, it is False. Like this test, i make print(True) to know if the return value is really true
False should equal True
Log
1679616
1296.0
36.0
6.0
True
Fixed both. Thanks
Fixed tests too.
Would you mind to be more precise ?
Which language ?
Describe the test : what result did you expect ? what result did the test expect ?
Loading more items...