Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Creative solution! You can knock it down a character by removing the "1" and simply returning an empty tuple.

    >>> f = lambda: g()if 0 else()
    >>> f()
    ()


Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: