• 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
AIMPED Avatar
Name:Unknown
Clan:Unknown
Member Since:Oct 2020
Last Seen:Dec 2023
Profiles:
Following:8
Followers:299
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (15)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • JorgeLdeOz
    • commented on "Counting String Subsequences" kata
    • 5 months ago

    I have the same problem, could you solve it or is it an error of the test case?

  • Custom User Avatar
    • shekelboi
    • commented on "Strong password?" python solution
    • 10 months ago

    @farhanaditya, doesn't Python match already checks from the beginning of the string? Then why would it match forbidden characters?

  • Custom User Avatar
    • shekelboi
    • commented on "Strong password?" python solution
    • 10 months ago

    The ? after the * is to use lazy instead of greedy quantification, it just makes the process slightly faster (since it returns after the first match) but either one should work.

  • Custom User Avatar
    • Spycer.iced
    • commented on "Aerial Firefighting" python solution
    • 4 years ago

    Not only you lol

  • Custom User Avatar
    • anter69
    • commented on "Strong password?" python solution
    • 4 years ago

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

  • Custom User Avatar
    • farhanaditya
    • commented on "Strong password?" python solution
    • 4 years ago

    Yes, it's necessary. Otherwise you'd match forbidden characters at the start of the string.

  • Custom User Avatar
    • Expurple
    • commented on "Alphabet war - airstrike - letters massacre" python solution
    • 4 years ago

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

  • Custom User Avatar
    • aleedo
    • commented on "Dead Ants" python solution
    • 4 years ago

    Mad World!

  • Custom User Avatar
    • dinglemouse
    • commented on "The Hunger Games - Zoo Disaster!" kata
    • 4 years ago

    Compliments are always welcome. Thanks!

    Try them all here: https://www.codewars.com/collections/dinglemouse

    DM

  • Custom User Avatar
    • Blind4Basics
    • commented on "Remove the parentheses" python solution
    • 4 years ago

    (and moreover, it's O(n) ;) )

  • Custom User Avatar
    • Blind4Basics
    • commented on "Penguin Olympics: Swimming Race Disaster" python solution
    • 4 years ago

    It's a "pythonic habit".

    Now, about good practice or not... Ask to a python guy, he'll answer yes. Ask to a Java one, you'll surely get the opposite... Personnal opinion: the language has been specifically designed for it so... I go for it.

  • Custom User Avatar
    • GamingIsntReal
    • commented on "Most frequently used words in a text" python solution
    • 4 years ago

    Glad I could help :)

  • Custom User Avatar
    • Blind4Basics
    • commented on "Form The Minimum" python solution
    • 4 years ago

    I personnaly tend to disagree on that ("cleaner") for python, at least when nested map/filter/reduce stuff enter the place, because you have to write the code in reversed order compared to the logical reasonning. That's one point where python is very bad... JS or ruby are much clearer, for that. Same happens for nested comprehensions.

    note: spoiler flag ;)

  • Custom User Avatar
    • fenring76
    • commented on "Form The Minimum" python solution
    • 4 years ago

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

  • Custom User Avatar
    • Blind4Basics
    • commented on "Form The Minimum" python solution
    • 4 years ago

    it just depends on my mood... ;o (here it makes the code a bit shorter)

  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...