• drowned Phoenician@feddit.de
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    For more pythinic code, the considerate programmer will use the fact that 0 is falsy:

    if x % 2: print("odd")

    More confusion is more python