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
.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.
you are to create a password of the given length using characters based on the boolean flags
Have you read the error message?, try printing
index
and see why your code is failing.Please post your code using markdown formatting and mark your post as containing spoiler content.