• 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
bitfragment Avatar
Name:Unknown
Clan:Unknown
Member Since:Jul 2015
Last Seen:Feb 2024
Profiles:
    Following:0
    Followers:4
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (116)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • Runkinmund
      • commented on "Convert a Boolean to a String" python solution
      • 15 months ago

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

    • Custom User Avatar
      • volodkaly
      • commented on "Count consonants" kata
      • 16 months ago

      good task, the level corresponds to 7 kyu and the description is sufficient, gj

    • Custom User Avatar
      • Deatheaterscat
      • commented on "Bin to Decimal" python solution
      • 2 years ago

      I know this can be done with int. Still this is great one-liner.

    • Custom User Avatar
      • Viktor.startsWith_Z
      • commented on "Short Long Short" javascript solution
      • 2 years ago

      💪

    • Custom User Avatar
      • avichii
      • commented on "Count consonants" kata
      • 2 years ago

      loved it.

    • Custom User Avatar
      • KayleighWasTaken
      • resolved an issue on "Count consonants" kata
      • 2 years ago

      fixed

    • Custom User Avatar
      • Unnamed
      • created an issue for "Count consonants" kata
      • 2 years ago

      Scala tests:

      |                        Not found: vowels
      
    • Custom User Avatar
      • ejini战神
      • resolved a suggestion on "Count consonants" kata
      • 2 years ago

      Approved!

    • Custom User Avatar
      • KayleighWasTaken
      • created a suggestion for "Count consonants" kata
      • 2 years ago

      Scala translation

    • Custom User Avatar
      • RileyHunter
      • commented on "101 Dalmatians - squash the bugs, not the dogs!" python solution
      • 2 years ago

      No, it doesn't.

      Here's a profile of running this problem 10 million times with an if/if/if solution versus an if/elif/else solution:

      if_if_if completed 10000000 iterations
      Sum time: 5684.13ms
      Mean time: 568.41ns
      Standard deviation: 1684.53ns
      
      if_elif_else completed 10000000 iterations
      Sum time: 5685.18ms
      Mean time: 568.52ns
      Standard deviation: 1642.49ns
      

      Even if it did, if you care about nanoseconds you shouldn't be choosing different flow control syntax in Python, you should be choosing a different language.

    • Custom User Avatar
      • WildRosesOW
      • commented on "101 Dalmatians - squash the bugs, not the dogs!" python solution
      • 2 years ago

      if elif else statement works faster than if if if

    • Custom User Avatar
      • juarezfd
      • commented on "Convert a Boolean to a String" python solution
      • 2 years ago

      For learning/reminder this is a good solution.

    • Custom User Avatar
      • Wei-Ting Yang
      • commented on "Count consonants" kata
      • 2 years ago

      Yeah I fell into that trap too.

    • Custom User Avatar
      • dnskkv
      • commented on "Frequency sequence" kata
      • 2 years ago

      Please check my Java translation

    • Custom User Avatar
      • Chrono79
      • commented on "Count consonants" kata
      • 2 years ago

      Post your non working code: https://docs.codewars.com/training/troubleshooting#post-discourse so we can check what was wrong with it. match returns null when there is no match.

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...