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.
This comment is hidden because it contains spoiler information about the solution
You need to use the value passed to your function.
Hey, I am having the same exact problem, What did you do?
I pass the 17 one but then later I fail the 500 and the 0.
If you're iterating through array be sure that your type of iteration is the same as the array's one.
Print the input.
That looks like your code returns
17
no matter what.When use test it got test passed 'Passed: 1, Failed:0', but still attempt not changed to sumbit.
When use attemptget the following:
Time: 511msPassed: 1Failed: 2Exit Code: 1
Test Results:
Test Passed
There are 500 sheeps in total, not 17: 17 should equal 500
There are no sheeps at all, you counted 17: 17 should equal 0
Hi. Maybe have a look at this: Troubleshooting Your Solution.
What do you mean by you cannot submit? What do you do, what happens exactly?
Hi I I get result of test passed, but I cannot submit. checked language python and version 3.8. Everything is Ok. Could someone help?