• 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
brianpck Avatar
Name:Brian Killackey
Clan:Unknown
Member Since:Oct 2015
Last Seen:Nov 2023
Profiles:
Following:0
Followers:27
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (501)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • SummerTheCoder
    • commented on "Is there a vowel in there?" python solution
    • 6 days ago

    Yes, but kata solutions don't necessarily have to be efficient (unless the kata tests explicitly require them to be such).

  • Custom User Avatar
    • Yeffort
    • commented on "Friend or Foe?" python solution
    • 7 days ago

    This is really cool,but I'll learn it later when I become an expert!

  • Custom User Avatar
    • Shikogo
    • commented on "String repeat" python solution
    • 11 days ago

    Also, for generally creatively short and impractical code, look up code golf! You'll probably find some challenges and guides.

  • Custom User Avatar
    • Shikogo
    • commented on "String repeat" python solution
    • 11 days ago

    The best way might just be to do katas on here and look at the solutions sorted by "clever" at the end, and then trying to understand them.

  • Custom User Avatar
    • Dhruvil07G
    • commented on "String repeat" python solution
    • 11 days ago

    can you tell where you can learn this type of code i want to learn that type can anybody tell where i can learn

  • Custom User Avatar
    • baton xleba
    • commented on "Regex validate PIN code" javascript solution
    • 17 days ago

    ヽ(≧□≦)ノ

  • Custom User Avatar
    • baton xleba
    • commented on "Regex validate PIN code" javascript solution
    • 17 days ago

    ヽ(≧□≦)ノ

  • Custom User Avatar
    • AaronRaje88
    • commented on "Double Char" python solution
    • last month

    Because for char in s, we are iterating over each character in the string s, and for each character c, we are multiplying it by 2 (c * 2) to create a new string with the character repeated twice. The join() method is then used to concatenate all the doubled characters into a single string.

  • Custom User Avatar
    • Hoduc123
    • commented on "Friend or Foe?" python solution
    • last month

    i have no idiea ,absolute code

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

    I think it is better to train yourself to be a oneliner. Actually I am new here. It is my second day here. And I am trying my best to complete challenges with one line only. It is fun you know. And it changes your mind a lot. THANK YOU ONE LINERS. You teach me a lot.

  • Custom User Avatar
    • LeeeHarvey
    • commented on "ROT13" python solution
    • 3 months ago

    XD

    You are pretty good))))

  • Custom User Avatar
    • User1.py
    • commented on "Exclusive "or" (xor) Logical Operator" python solution
    • 3 months ago

    Well I call it Best Practices.

  • Custom User Avatar
    • Tom-Sawyer-123
    • commented on "Convert a Boolean to a String" python solution
    • 4 months ago

    two years ago but we can assume the input will always be a bool since that is what it takes as an argument. Since its taking a boolean as an argument it is reasonable to assume it isn't accepting user input, rather the boolean is being generated elsewhere in the code.

  • Custom User Avatar
    • curiousgeorgiou
    • commented on "Double Char" python solution
    • 4 months ago

    This is really quite novel. Nice!

  • Custom User Avatar
    • curiousgeorgiou
    • commented on "Double Char" python solution
    • 4 months ago

    It's not dissimilar to a 'for' loop with a list. Think of it as 'for [any item] in [what I'm telling you to look at]'.

    In this case we're telling the program to look at a string, so the 'any item' is just 'any/each individual letter'. 'C' is simply a placeholder for that.

    I appreciate this is checks watch 11 months late, but I hope it helps if you ever return here!

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...