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.
Which language? Which error? Please, next time mention both things. Your current code passes, closing.
When passing the tests, a syntax error occurs in the tests themselves..
first time seeing this method in action. brilliantly useful, this is why i love these communities.
This comment is hidden because it contains spoiler information about the solution
Not so easy as it seems on the first look. Spent one hour and now trying with reverse() in Python. Passed: 5 Failed: 1. That's 83 % good :) Next Kata please :)
you're probably trying to read from stdin. there's no content in stdin, hence end of file.
I am beginner in python. I am getting Eof error can anyone tell me how to solve.
Added that test to C, Ruby and Javascript.
Not now, I'm at work. I've added this test to Python:
The algorithm used skipped values iterating over a list and mutating it in the process.
Will you please change the other 15 language versions as well? Because nobody else can because you're not telling what change you made, or why.
Added a test for Python that rendered your solution invalid. But there should be more tests like that, ideally, with random numbers to avoid hardcoding.
The first time I ran my program it didn't pass one of the random tests.Then I just added some print()'s. The second time I ran it, it worked. Which means that my solution doesn't work but it can still get past the attempts
Nope, the issue is that your program will always exit early due to the logic flow of one conditional statements and its inner code.
You seem to have renamed the original function from
DNA_strand(dna)
to:
DNAstrand(dna)
Be sure to use the originally-named function.
Hello! Code is working but I can not understand how to send result to codewars?
I a click 'Attemp' and have error 'DNAstrand is not defind'
Loading more items...