JPDev@programming.dev to Programmer Humor@programming.dev · 11 months agoThe Perfect Solutionprogramming.devimagemessage-square76fedilinkarrow-up1688arrow-down17
arrow-up1681arrow-down1imageThe Perfect Solutionprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 11 months agomessage-square76fedilink
minus-squareenkers@sh.itjust.workslinkfedilinkarrow-up1·edit-210 months agoThat’s a pretty clean looking solution. There are a few others as well, but yours seems better, and it’s in the standard lib to boot!
dedent() can help with that.
That’s a pretty clean looking solution. There are a few others as well, but yours seems better, and it’s in the standard lib to boot!