• 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
dmasalex Avatar
Name:Алексей Данилов
Clan:Unknown
Member Since:Jul 2020
Last Seen:Sep 2021
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (51)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • dmasalex
    • commented on "Double Cola" kata
    • 4 years ago

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

  • Custom User Avatar
    • mohragk
    • commented on "Directions Reduction" kata
    • 4 years ago

    Yeah, it's a very poor problem statement.

  • Custom User Avatar
    • checkmate123
    • commented on "Moving Zeros To The End" kata
    • 4 years ago

    I don't understand this too. It's the same problem that I had.

  • Custom User Avatar
    • schebotar
    • commented on "Directions Reduction" kata
    • 4 years ago

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

  • Custom User Avatar
    • dmasalex
    • commented on "Moving Zeros To The End" kata
    • 4 years ago

    Extremely strange test results - [0, 2, 2, 0]: it returns [2, 2, 0, 0] for me - the test writes that it is not true and should return [2, 2, 0, 0]. What's wrong here???

  • Custom User Avatar
    • dmasalex
    • commented on "Directions Reduction" kata
    • 4 years ago

    Difficult to understand explanation. Tell me, do we remove W <-> E or S <-> N only if they are near? That is, in W, E, W, S, E, do we delete W and E? And there remains W, S, E?

  • Custom User Avatar
    • Chrono79
    • commented on "Sum of Digits / Digital Root" kata
    • 5 years ago

    Have you already read that link?

  • Custom User Avatar
    • Tejasdr281
    • commented on "Sum of Digits / Digital Root" kata
    • 5 years ago

    please tell me the solution
    I have the same problem

  • Custom User Avatar
    • dmasalex
    • commented on "Sum of Digits / Digital Root" kata
    • 5 years ago

    return digital_root(x) !!!!!

  • Custom User Avatar
    • dmasalex
    • commented on "Sum of Digits / Digital Root" kata
    • 5 years ago

    Teach me, I haven't studied this yet)))
    Tried:
    return x
    return n
    but the result is the same

  • Custom User Avatar
    • premature
    • commented on "Sum of Digits / Digital Root" kata
    • 5 years ago

    You are missing a return statement at the last line: else: digital_root(x). Currently, your code returns None to console.

  • Custom User Avatar
    • user4472141
    • commented on "Sum of Digits / Digital Root" kata
    • 5 years ago

    you need a return statement on the last line

  • Custom User Avatar
    • dmasalex
    • commented on "Sum of Digits / Digital Root" kata
    • 5 years ago

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

  • Custom User Avatar
    • dmasalex
    • commented on "Tortoise racing" kata
    • 5 years ago

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

  • Custom User Avatar
    • rowcased
    • commented on "Even or Odd - Which is Greater?" kata
    • 5 years ago

    next: have you printed your evenSum and oddSum to see what results you're getting?

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...