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.
You are returning either
None
or the first element inresult
upon first iteration. You should instead, check if any prime numbers exist between each pairwise elements inresult
, and only return that element if it does not exist a prime number in between, Otherwise, returnNone
.This comment is hidden because it contains spoiler information about the solution
I had same and using rstrip instead of strip() helped
Try to print the input, check why your code is failing. Your code passed all tests until it throw an error, there are more tests.
All tests are passed but it gives me one exit code : <invalid literal for int() with base 10: ''>
you are to create a password of the given length using characters based on the boolean flags
I didn't understand the KATA :(
can anyone help please!
thnx I solved it ^^
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Have you read the error message?, try printing
index
and see why your code is failing.This comment is hidden because it contains spoiler information about the solution
Please post your code using markdown formatting and mark your post as containing spoiler content.
Hello, i've a problem but i don't know where !!!
the script works in my interpreter (it gives me the same solution as in "https://rot13.com/"
but when i test my solution here it gives me errors!!!!
plz help.
thanx
Loading more items...