News for hackers. Stuff that matters.
Re:An Overwhelmingly Negative and Demoralizing Force by banannaise on Tuesday April 08, 2025 @11:29PM (#43628643)
> "lambda x : x if x else 1"

I think what you're looking for is "x or 1"

There are no comments on this comment yet.