• 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
monkeymonks Avatar
Name:Unknown
Clan:Unknown
Member Since:Apr 2020
Last Seen:Oct 2020
Profiles:
    Following:5
    Followers:0
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations
    • Replies (14)
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • Gabrango
      • commented on "Reverse words" python solution
      • 3 years ago

      I didn't understand those explanations

    • Custom User Avatar
      • Yuri-1525
      • commented on "Cat years, Dog years" python solution
      • 3 years ago

      Yeah, people need to learn the difference between unnecessarily complicated code that they think it looks cool and best practices

    • Custom User Avatar
      • Aleks98
      • commented on "Reverse words" python solution
      • 4 years ago

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

    • Custom User Avatar
      • ejini战神
      • resolved a question on "Regex validate PIN code" kata
      • 5 years ago

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

    • Custom User Avatar
      • QueenSalis
      • commented on "Going to the cinema" kata
      • 5 years ago

      you actually never really round, only check "if I rounded now, will it be bigger?"
      but the continue working with un-rounded values

    • Custom User Avatar
      • stephanerobert
      • commented on "Delete occurrences of an element if it occurs more than n times" python solution
      • 5 years ago

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

    • Custom User Avatar
      • nmburaleh
      • commented on "Sum squares of numbers in list that may contain more lists" python solution
      • 5 years ago

      Thank you for your kind words! I'll give it a shot!

      So we recursively walk down the list, whose elements may be a integer or a list (or a list of a list..etc).

      If we come across an int, that means we can square it (hence l*l).
      If not, that means we have a list on our hands, which we can iterator over, which we do in the
      'recursion condition'.

      The base condition is what we are recursively 'working towards' by traversing list inside lists until we hit the int 'jackpot'.

      A Python Youtuber has an excellent playlist on recursion implemented in Python. Please check it out for further understanding: https://www.youtube.com/playlist?list=PLGKQkV4guDKHyAbnx6w4eSTetVG2vVeDG

    • Custom User Avatar
      • Chrono79
      • resolved an issue on "Going to the cinema" kata
      • 5 years ago

      Read the description again, it's already there, you're doing the rounding where you shouldn't.

    • Custom User Avatar
      • carlosnsr
      • commented on "Reverse words" python solution
      • 5 years ago

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

    • Custom User Avatar
      • Chrono79
      • commented on "Reverse a Number" python solution
      • 5 years ago

      It's called recursion.

    • Custom User Avatar
      • FArekkusu
      • resolved a suggestion on "Coloured Triangles" kata
      • 5 years ago

      Can't be changed.

    • Custom User Avatar
      • Unnamed
      • commented on "Form The Largest " python solution
      • 5 years ago

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

    • Custom User Avatar
      • rowcased
      • commented on "Form The Largest " python solution
      • 5 years ago

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

    • Custom User Avatar
      • docgunthrop
      • commented on "Largest 5 digit number in a series" python solution
      • 5 years ago

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

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...