Ad
  • Custom User Avatar

    Don't be discouraged! These one-liner solutions get upvoted because they show off a lot of cool stuff Python can do, but it's a terrible way to code (unless you're practicing and want to get intimately familiar with every neat trick).

    Coding is about documenting logical steps that are human-readable, hopefully with comments that provide more context for the programmers maintaining it. If these were instructions for a Lego set, this would be the equivalent of "Step 1: put all the Legos together."