• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
Staples Avatar
Name:Unknown
Clan:Maine South
Skills:turning entirely legible code into an incomprehensible one-liner
Member Since:Aug 2015
Last Seen:Mar 2024
Profiles:
Following:63
Followers:67
Allies:63
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (137)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Rinat93
    • commented on "Perfect Number Verifier" kata
    • 3 months ago

    This comment has been reported as abusive

  • Custom User Avatar
    • Just4FunCoder
    • resolved a suggestion on "Narcissistic Numbers " kata
    • 5 months ago

    Kata retired.

  • Custom User Avatar
    • kysper50@gmail.com
    • commented on "Remove First and Last Character" javascript solution
    • 10 months ago

    It wants the first character removed as well, if you set it to 0 it will also grab that character.

  • Custom User Avatar
    • adrianmacz
    • commented on "Remove First and Last Character" javascript solution
    • 12 months ago

    Just curious why is it 1 instead for 0? Isn't the first letter placed at 0?

  • Custom User Avatar
    • selsadan
    • commented on "Remove First and Last Character" javascript solution
    • 14 months ago

    Great!

  • Custom User Avatar
    • OliverGartner
    • commented on "Perfect Number Verifier" kata
    • 17 months ago

    Yes, i agree on this one.

  • Custom User Avatar
    • GroundedKitten
    • commented on "Mersenne Primes" kata
    • 2 years ago

    Oh I see youre right! thank you for pointing that out. :)

  • Custom User Avatar
    • scarecrw
    • resolved an issue on "Mersenne Primes" kata
    • 2 years ago

    You've misunderstood the problem slightly. It's not asking if n is a Mersenne prime, but if it produces a Mersenne prime using the provided definition (Mn = 2n - 1).

  • Custom User Avatar
    • GroundedKitten
    • created an issue for "Mersenne Primes" kata
    • 2 years ago

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

  • Custom User Avatar
    • ejini战神
    • resolved a suggestion on "Mersenne Primes" kata
    • 2 years ago

    Approved

  • Custom User Avatar
    • saudiGuy
    • created a suggestion for "Mersenne Primes" kata
    • 2 years ago

    python new test framework is required. updated in this fork

  • Custom User Avatar
    • saudiGuy
    • created a suggestion for "Mersenne Primes" kata
    • 2 years ago

    basic tests could be added in full tests suite.

  • Custom User Avatar
    • natan
    • resolved an issue on "Perfect Number Verifier" kata
    • 2 years ago

    An Issue is for reporting that something needs to be changed about the kata itself. Use Question for questions about your own code. If you think something should change about the description then you need to elaborate - an Issue needs to be something actionable.

  • Custom User Avatar
    • Alexander1
    • created an issue for "Perfect Number Verifier" kata
    • 2 years ago

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

  • Custom User Avatar
    • Volvidem
    • commented on "Remove First and Last Character" javascript solution
    • 3 years ago

    This is because substr prints the number of characters after the starting index. Had you started from 0, you would just need to subtract 1 to exclude the last element.
    But since you have started from 1, it has shifted the range by 1, which means the last character is included again. So you need to subtract 2.

  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...