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.
Cool, and thanks for the help with understanding the process.
Scala translation
Already removed.
Python Test rework further improved following @Chrono79 comment in translation's Discourse page:
I have:
@Chrono79 / @akar-0
Here is my rework of the Python kata with the new test framework.
PLEASE NOTE - this is my first attempt at updating/forking so please review extra carefully.
Actions taken: forked in top right menu bar, updated sample tests and full tests inside the kumite screen editor, clicked save then publish. I kept reference solution as before, slightly modified random tests so that it tests intervals with variable lengths for the random tests.
Link:
23-08-2022 = Python 3.10 with new test framework
Also, if approved, do I then go on:
https://github.com/codewars/content-issues/wiki/List-of-Python-Kata-to-Update
and remove the Rot13 entry from the list also myself?
Cheers,
Try your code with this test:
I copied your code and run it in Codewars - you have a small error that should be easy for you to debug, since the error messages are very clear and you should notice the pattern in "why"/"where" your code is making the mistake.
The tests are ok. Your code not working is not a kata issue. Please read this and don't raise issues so lightly in the future: https://docs.codewars.com/training/troubleshooting/
Strange i wrote this challange in pycharm and everythin is working there (also the test cases are passed) but when i try to attempt ther's lot's of tests that come out as wrong (when i decode the test string and put them manualy in pycharm the result is the same as the required one)
Could someone tell me what im doing wrong? (or are the test messed up?)
yeah, been having issues all day https://status.codewars.com/
Is down the system to run the code? I launch in a few moments and put the error in DNS.
Use this:
print(f'"{n}"')
This comment is hidden because it contains spoiler information about the solution
Yes, I see de closing quote. I put the next line in test "test.assert_equals(validate_pin("1234 "),False, "Wrong output for '1234 '")" and the return is ok but i go to attemp and i received two error of similar test. I had an idea...later I'll comment if I've hit the nail on the head.
I see that it's not a space, it's a carriage return.
Thanks
Look where the closing quote is.
Loading more items...