Ad
  • Default User Avatar

    Im in love with this line <3
    Nice work :D

  • Default User Avatar

    the same here. I had this problem once with another kata and turned out I was printing the value instead of returing it. this time I can't find any mistake but I gueess the problem is on our end again ;)

  • Default User Avatar

    Thank you for your hints and help :D
    Sorry about raising an issue, im new to codewars and was'nt sure which option to pick when posting this comment :/

  • Default User Avatar

    Cool, and thanks for the help with understanding the process.

  • Custom User Avatar
  • Custom User Avatar

    and remove the Rot13 entry from the list also myself?

    Already removed.

  • Default User Avatar

    Python Test rework further improved following @Chrono79 comment in translation's Discourse page:

    I have:

    • Created 3 fixed tests groups
    • Added, as suggested, fixed test group where encoding is performed twice: test that we get back original string
    • Added fixed test group for certain edge cases: empty string, lots of wraparound handling with the letter Z, string with lots of spaces, string with only "forbidden"/unused characters.
  • Default User Avatar

    @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,

  • Custom User Avatar

    Try your code with this test:

    test.assert_equals(rot13(rot13("Test")),"Test")
    
  • Default User Avatar

    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.

  • Custom User Avatar

    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/

  • Default User Avatar

    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?)