• 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
ericfmeyer Avatar
Name:Eric
Clan:Unknown
Member Since:Jul 2017
Last Seen:Feb 2024
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (4)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • GiacomoSorbi
    • commented on "Thue-Morse Sequence" python solution
    • 8 years ago

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

  • Custom User Avatar
    • GiacomoSorbi
    • commented on "Thue-Morse Sequence" python solution
    • 8 years ago

    How could I forget about Max von Sydow's magistral acting :)?

  • Custom User Avatar
    • GiacomoSorbi
    • commented on "Thue-Morse Sequence" python solution
    • 8 years ago

    Point is: this is making good use of pre-stated requirements; in case they change, it does not take too much to update the solution, writing a generator function in few lines.

    [Ah, I almost forgot how much I do look like Ming the Merciless nowadays <3; shame the main actor was a clueless jock and he rejected to make a sequel as Flash]

  • Custom User Avatar
    • lechevalier
    • commented on "Resistor Color Codes" python solution
    • 8 years ago

    Seems you didn't try it by yourself.
    Take a look at line 5

    colors = (bands + ' ').split(' ')
    

    It sets a default value for color[3] -thus default value for tolerance- even if none is passed.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...