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 test in Python (mention the language next time, please) is like this:
And it is fine. Not a kata issue.
There are issues wtih the test. All of the test, but the one where the bullets is 0 and dragons is 1. When I attempt the code, it passes, but due to the test with (bullets=0, dragons=1) are coming up True, but it should be coming up False. Please check to see if the test needs to be fixed. I think if all of the tests on the attempt are passing, but only one test is the hold up, there might be a logic issue with the test.
Same thing for the other guy. Primitive Types. The method hero yet is int. ^^
kkkkkkkkkkkk Thats true, but... look at the primitive type, is int, that problem need to pe long. ^^
This comment is hidden because it contains spoiler information about the solution
The correct answer for
1500
and751
isfalse
.The error message says:
So, the test code expected you to return
false
, but because your code returnedtrue
, it failed the test.1500 and 751 test returns my value as true but I tested on ide and other compiler that it returns as false
poor poor dragons :(
Your output is not correct.
This comment is hidden because it contains spoiler information about the solution
FIX THE TESTS !!!!!!!!!!!!!!!!!!!!!!!!!!!
This comment is hidden because it contains spoiler information about the solution
maybe the argment name
A very wordy problem with a very simple solution. Consider rewriting the problem to make it more readable, free from punctuation and grammatical errors.
oooh fun
Loading more items...