• We don't include users with honor less than 128 to the leaderboard because there are a lot of them. Banned accounts are removed from the leaderboards as well.

    For the actual number, we have slightly over 2M registered and had about 50K new users per month on average in 2020.

  • Thanks! (Before I didn't understand what 'honor percentile is 0.8%' means)

  • In your profile you can see you current position is 2151, and your honor percentile is 0.8%.From this, you can estimate amount of users as approx. 268k. I am not sure if it's any meaningful number though. Many accounts are abandoned, some are banned, some are irrelevant in some other way. Also the leaderboard of overall honor is not very meaningful either.

    Completed kata leaderboard is much more interesting.

  • Hey! Anybody knows how many users are totally in the Codewars? I can't find that information. I would like to enter in the top 500 to screen that info and put that in some place, like wallpaper (I'm not joking). Thanks to everybody, ciao.

  • ...don't worry too much about it. It's not much of a problem when one person does it. There are however a whole lot of persons on the internet and this cannot be how we communicate.

    No, of course you did not mean it the way I describe it. The problem arises when someone reads it and has to figure out what to do with it, that's when it gets that effect.

    It's not a moral judgement. It's unworkable, that's all.

    but then I got stuck on how to get if there is an even or odd num of 1s.

    That's much better.
    What you're saying then, is that you have some list containing 1s and possibly other things.
    You could make a new function which accepts such a list, and returns that count. It would be a new problem to solve which would help you with your first problem. Whenever you find a subtask like this - making a function for it is a great idea.

  • Oh, my bad, did not think about solving it that way. Thanks a lot and sorry for being annoying!

  • @Blinky_32 :

    This is an elementary problem so one need to know where you're stuck in this(what is the problem in just counting the numbers of 1 in the splitted chunks?) and the programming language in which you're attempting this

  • I am sorry if I phrased it too vaguely and demanding, it's my first day on this website, so I dont know the rules here yet. I was just wondering if anyone has done this question before. I was thinking to solve it this way: store the input in a list, split the integers, but then I got stuck on how to get if there is an even or odd num of 1s.
    I did not mean to put it 'Do my homework for me' way.

  • This reads like "do my homework for me". You are asking for a lot while having only written a single sentence.
    You might very well have a legitimate question, but you can't phrase it this way.
    What you might do instead is to ask about whatever you need to know to continue solving it yourself.
    Whatever you do ask, you need to be putting more effort into it than the effort required to answer you.
    You're also asking in the wrong place. This would go to the Hamming kata (and without pasting the instructions because they're already there) - except this text does not match that kata so you're probably on the wrong site altogether.

  • Can somebody help me to solve this problem in Python or give a little hint, PLEASE!
    I have an idea how to do it but just not working...
    Thank you!

    In telecommunications we use information coding to detect and prevent errors while sending data.

    A parity bit is a bit added to a string of binary code that indicates whether the number of 1-bits in the string is even or odd. Parity bits are used as the simplest form of error detecting code, and can detect a 1 bit error.

    In this case we are using even parity: the parity bit is set to 0 if the number of 1-bits is even, and is set to 1 if odd.

    We are using them for the transfer of ASCII characters in binary (7-bit strings): the parity is added to the end of the 7-bit string, forming the 8th bit.

    You are to test for 1-bit errors and return a new string consisting of all of the correct ASCII characters in 7 bit format (removing the parity bit), or "error" in place of ASCII characters in which errors were detected.


    Correct 7 bit string with an even parity bit as the 8th bit:

    "01011001" <-- The "1" on the right is the parity bit.

    In this example, there are three 1-bits. Three is an odd number, and the parity bit is set to 1. No errors are detected, so return "0101100" (7 bits).

    Example of a string of ASCII characters:

    "01011001 01101110 01100000 01010110 10001111 01100011"

    This should return:

    "0101100 error 0110000 0101011 error 0110001"

  • Here is a way to do it i think:
    import time
    start_time = time.time()
    print("--- %s seconds ---" % (time.time() - start_time))

    from: https://stackoverflow.com/questions/1557571/how-do-i-get-time-of-a-python-programs-execution

  • hello fello programers. I am pretty new to coding and I chose python3 to start. I am taking codecademy's course in computer science for python3. I am wondering if anyone is aware of a good resource for practicing loops in python3? I find I'm having trouble with functions. Do I just keep practicing functions to further my understanding of loops or is it possible I missed something and need more practice with the basics? Thank you all very much in advance!

  • I had this too, so it's not something extraordinary. Solve other katas and come back to it later. Usually after some time you will be able to solve the kata if you keep learning or just unlock the solution and remember how to solve that specific problem.

  • Your kata has been auto-retred because of low satisfaction rating it collected from users trying to solve it. I have not solved it so I do not know exactly what was the problem, but I believe some hints can be found in comments. Additionally, if you want to create a kata and ensure its good quality, you can read following information:

    • Documentation on Content Authoring, which is still work in progress, but quality guidelines are more or less stable and conforming to them should help a kata a lot,
    • Creating a kata tutorial, which is not published yet and still in progress, but might be useful. I personally don't like it though,
    • Recently published tutorial for creating a kata in JS, C or Python (with other languages slowly incoming).
  • Loading more items...