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.
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
Is it -5 -4 -3 -2 -1 = -15? sorry if my understanding is wrong
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
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
Is there a problem in this kata? some test are wrong even though i think it is right, I'm new in programming so i don't know if i'm what i'm doing is right.