• 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
sgewas Avatar
Name:Unknown
Clan:Thinkful
Member Since:Nov 2017
Last Seen:Nov 2017
Profiles:
    Following:1,161
    Followers:1,163
    Allies:1,143
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (10)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • EPiph
      • commented on "Thinkful - Logic Drills: Traffic light" python solution
      • 2 years ago

      The string is refering to itself. "This" i.e. this string, "is not a traffic light color." - this is to alert the traffic light not to attempt to turn on the color described by the string, because the string "This is not a traffic light color" does not describe uniquely a traffic light color, and the result may be unexpected, and perhaps even detrimental to the traffic light.

    • Custom User Avatar
      • Divine Daniel
      • commented on "Thinkful - Logic Drills: Traffic light" python solution
      • 3 years ago

      This is what I did yay

    • Custom User Avatar
      • DegenGenZ
      • commented on "Thinkful - Logic Drills: Traffic light" python solution
      • 3 years ago

      wdym pink is not a traffic light color

    • Custom User Avatar
      • Mrln
      • commented on "Thinkful - Logic Drills: Traffic light" python solution
      • 3 years ago

      The dictionary method needs to instantiate a "useless" dictionary. This one does not.

    • Custom User Avatar
      • Ulin
      • commented on "Thinkful - Logic Drills: Traffic light" python solution
      • 3 years ago

      The dictionary method isn't hard to read though, as long as you know what a dictionary is. Also, isn't it faster?

    • Custom User Avatar
      • Infuzibil
      • commented on "Thinkful - Logic Drills: Traffic light" python solution
      • 4 years ago

      Simple, perfectly reaadable, industry-grade code. Too many people have an obsession with one-line returns.

    • Custom User Avatar
      • Spycer.iced
      • commented on "Thinkful - Logic Drills: Traffic light" python solution
      • 4 years ago

      Wow..this is not a traffic light

    • Custom User Avatar
      • JohanWiltink
      • commented on "Thinkful - Logic Drills: Traffic light" python solution
      • 4 years ago

      It's readable, even by the janitor?

    • Custom User Avatar
      • xavuap
      • commented on "Thinkful - Logic Drills: Traffic light" python solution
      • 4 years ago

      awful, disgusting and unheardof, Diamonds should be ashamed of this

    • Custom User Avatar
      • krishp
      • commented on "Thinkful - Logic Drills: Traffic light" python solution
      • 6 years ago

      How is this considered best practice?

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...