• 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
pemn Avatar
Name:Paulo Ernesto
Clan:Vale
Member Since:Jan 2017
Last Seen:Oct 2018
Profiles:
Following:2
Followers:2
Allies:1
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (17)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • AiDenBay
    • commented on "Quest: Kill ten rats!" kata
    • 4 years ago

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

  • Custom User Avatar
    • bidouille
    • commented on "Quest: Kill ten rats!" kata
    • 6 years ago

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

  • Custom User Avatar
    • anter69
    • created a suggestion for "Quest: Kill ten rats!" kata
    • 8 years ago

    So much missed potential...

    >>> world.pickup("npc")
    Sorry, but I am not single!
    >>> world.pickup("npc")
    Just leave me alone, will you?
    >>> world.pickup("npc")
    You do it one more time, and I feed you to those rats!
    >>> world.pickup("npc")
    Game over.
    
    >>> world.pickup("rat")
    The rat bites you and you start bleeding.
    Game over.
    
    >>> world.pickup("gun")  # ...or basically anything else
    There is no ... here.
    

    etc.

    Oh, and please add apostorphes! (like "dont")

  • Custom User Avatar
    • Voile
    • resolved an issue on "Quest: Kill ten rats!" kata
    • 8 years ago

    Fixed

  • Custom User Avatar
    • fenring76
    • created an issue for "Quest: Kill ten rats!" kata
    • 8 years ago

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

  • Custom User Avatar
    • MikaelCall
    • commented on "Calculate the distance of two points in N dimensions" kumite
    • 8 years ago

    It is bad practice to create a list in the sum function. A generator will not allocate memory. Also, I find x and y to be better names for points in this, i.e. math, domain.

  • Custom User Avatar
    • leigaoyi
    • commented on "Calculate the distance of two points in N dimensions" kumite
    • 8 years ago

    Using package not in the standard python library like numpy, to test others is not very good.
    I think we come here to train language , not the special library.

  • Custom User Avatar
    • pemn
    • commented on "Quest: Kill ten rats!" python solution
    • 8 years ago

    I added a test to see if the returned object is of the correct class.

  • Custom User Avatar
    • gh314
    • commented on " Distance Between Two Points in a Plane and in the Space." kumite
    • 9 years ago

    thanks. i really like list comprehensions and generator expressions so i wanted to apply them to this case.

  • Custom User Avatar
    • pemn
    • commented on "The Millionth Fibonacci Kata" python solution
    • 9 years ago

    I knew someone would come up with a very clever solution... but a one liner for this? Im trully impressed.

  • Custom User Avatar
    • pemn
    • commented on "Make a spiral" python solution
    • 9 years ago

    Very impressive solution! Took me a while to understand how it works but when it clicked i was amazed by the simple but effective idea. Also, very good use of numpy arrays.

  • Custom User Avatar
    • pemn
    • commented on " Distance Between Two Points in a Plane and in the Space." kumite
    • 9 years ago

    Nice! I love one liners. Expecially when they are an upgrade with no downsides like this one.

  • Custom User Avatar
    • runandrew
    • commented on "Sum of Pairs" kata
    • 9 years ago

    Something like this: array.map(el => el). No printing, just visiting each element and returning it.

  • Custom User Avatar
    • brendanvos
    • commented on "Sum of Pairs" kata
    • 9 years ago

    Edit: accidental double post due to slow site

  • Custom User Avatar
    • brendanvos
    • commented on "Sum of Pairs" kata
    • 9 years ago

    Test 5 in the default example tests is indeed correct.

    Read the description more carefully.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...