Ad
  • Custom User Avatar

    Thansk Mate. New here

  • Custom User Avatar

    I am not sure about this error.
    and anyone help me get this through

    Traceback (most recent call last):
    File "main.py", line 3, in
    import codewars_test as test
    ModuleNotFoundError: No module named 'codewars_test'

  • Custom User Avatar

    This got me thinking about my LIFE

  • Custom User Avatar
  • Custom User Avatar

    Maybe I am not well eduated enough about the computer programming fundamental.

    I had a troubling understanding what this statement means
    """the bits are zero-indexed (the least significant bit is position 0)"""

    which you have to reverse the binary and find the odd index if the value is 1
    return True otherwise False

    remark: I am not a native English speaker.
    I am here to learn and welcomely to take further deeper info about this question.
    Hope that helps non English speaker and get some ways to solve this problem.

  • Custom User Avatar

    My first thought!
    someone finally did it!
    LOL

  • Custom User Avatar

    wondering if somebody could help me, my answer seemed to correct but I failed
    not sure how to fix this. btw I am writing the solution in PYTHON

    expected [ list of possible correct ansers ]: [7, 9]
    to include your answer: [7, 9]

    expected [ list of possible correct ansers ]: [6, 7]
    to include your answer: [6, 7]

    Thank you in advance!

  • Custom User Avatar

    IMPRESSIVE!
    Maybe I am overthing
    hahahha

  • Custom User Avatar

    Please let we have 3.8 version Python

  • Custom User Avatar

    How can somebody contribute that work?

  • Custom User Avatar

    This is just my personal opinion.
    First of all this question is very impressed to be honest.
    But one thing that myself have been struggling with is about the format of the datetime.

    Most of the time second will up or down 1 second at the random test cases.
    I think it would be nicer and more beginner friendly to have a format guildlines. (I guess that is what you called it.)

    Because it yields the result differently on the different method

    1. library time
    2. library datetime
    3. divmod
    4. %

    For further improvement! Hope that helps!

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I am not gonna lie. I spent a majority of time for understanding this kata. I just realized that I would be so much easier if you could provide EXACT SAME THING in the Description. It would save plenty of time for most people. especially for the beginner who wants to upgrade themselves.

    What I mean by that is:

    Example: coding "86"
    We code 8 as 00011000 because 8 is written 1000 in binary (therefore it has 4 bits) hence point b) gives three 0 followed by 1; then point c) we write it in binary 1000; concatenating results of b) and c) we get 00011000.
    We now code 6; in binary it is written 110 (therefore it has 3 bits); point b) gives two 0 followed by 1; c) gives 110. Concatenating we get 001110. The coding of 86 is 00011000 concatenated with 001110: "00011000001110"

    PLEASE PUT THIS EXAMPLE IN THE DESCRIPTION

  • Custom User Avatar

    They need to fix this. Especially this is 7kyu which might confuse the beginner to quit super quick without realizing how easy it is

  • Custom User Avatar

    I really this kata due to its difficult and challenge of the solution which could be in a various way. I personally think this kata could upgrade to 6kyu at least.
    For those who have some experienced with programming. I mean not for the beginner.

  • Loading more items...