• 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
Snim Avatar
Name:Sergi Pallice
Clan:Unknown
Member Since:Jun 2019
Last Seen:Jun 2025
Profiles:
Following:18
Followers:20
Allies:13
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (92)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • SummerTheCoder
    • commented on "Greatest common divisor" python solution
    • yesterday

    Because there's no need to reinvent the wheel.

  • Custom User Avatar
    • Snim
    • commented on "Simple Fun #259: Different Digits Number Search" kata
    • 6 months ago

    I am also lost. What is a decimal representation?

  • Custom User Avatar
    • Chrono79
    • commented on "Speed Control" kata
    • 6 months ago

    While I agree it can be improved as you said, I consider something as a kata issue if the user can't fix it changing his/her code. In this case, the problem comes from the user returning a different datatype from the expected one, and it can be fixed by the user, returning the expected one.

  • Custom User Avatar
    • hobovsky
    • commented on "Speed Control" kata
    • 6 months ago

    I would still consider crashing tests a kata issue. If tests want to use the returned value in a non-trivial way, it should be sanitised and not cause a crash.

  • Custom User Avatar
    • Chrono79
    • resolved an issue on "Speed Control" kata
    • 6 months ago

    Given s and x the task is to return as an integer ...

  • Custom User Avatar
    • Chrono79
    • commented on "Speed Control" kata
    • 6 months ago

    Well, you're returning a list instead of a number, that's your code's problem, not a kata issue.

  • Custom User Avatar
    • Snim
    • created an issue for "Speed Control" kata
    • 6 months ago

    I get a TypeError no matter what I do, whether I am testing or attempting the solution.

    The problem seems to be the "testing" function defined. I get:

    Traceback (most recent call last):
      File "tests.py", line 18, in <module>
        testing(gps(s, x), u)
      File "tests.py", line 6, in testing
        r = fabs(actual - expected)
    TypeError: unsupported operand type(s) for -: 'list' and 'int'
    

    The list type just changes to 'None' if I just return nothing. Can anybody help?

  • Custom User Avatar
    • Just4FunCoder
    • commented on ""How many points did the teams from Los Angeles score?" Python Translation"
    • 8 months ago

    Reviewed, Forked & Approved. (Honor points goes to you)

  • Custom User Avatar
    • Wartem
    • commented on "Two numbers are positive" python solution
    • 2 years ago

    Beutiful.

  • Custom User Avatar
    • rowcased
    • commented on "Two numbers are positive" python solution
    • 2 years ago

    yes and no

  • Custom User Avatar
    • Barinvic
    • commented on "Two numbers are positive" python solution
    • 2 years ago

    It is time to learn boolean :)

  • Custom User Avatar
    • mateuszmacheta
    • commented on "Greatest common divisor" python solution
    • 2 years ago

    🔪

  • Custom User Avatar
    • Voilet
    • commented on "Two numbers are positive" python solution
    • 2 years ago

    Today i learned: You can do this

  • Custom User Avatar
    • yu5uy
    • commented on "Greatest common divisor" python solution
    • 3 years ago

    im asking why people vote it as cleaver ?

  • Custom User Avatar
    • DigiRon4ik
    • commented on "Heron's formula" python solution
    • 3 years ago

    I dont C/P. I am printed, dude...

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...