Davriellelouna@lemmy.world to pics@lemmy.world · edit-29 days agoU.S. Immigration and Customs Enforcement (ICE) waiting outside unmarked vanlemmy.worldimagemessage-square378linkfedilinkarrow-up11.55Karrow-down121
arrow-up11.53Karrow-down1imageU.S. Immigration and Customs Enforcement (ICE) waiting outside unmarked vanlemmy.worldDavriellelouna@lemmy.world to pics@lemmy.world · edit-29 days agomessage-square378linkfedilink
minus-squareCalipherJones@lemmy.worldlinkfedilinkEnglisharrow-up2·8 days agoIt’s all that pesky risk of life imprisonment
minus-squarePresidentCamacho@lemm.eelinkfedilinkarrow-up5arrow-down1·edit-27 days agoI wrote a simple formula for it the other day actually def shoot_masked_gunman(color, job): you = 2 if color == "white" else 0 masked_gunman = 100 if job == "cop" else 1 if you > masked_gunman : print("The justice system works!") else: print("Life without parole")
minus-squarewischi@programming.devlinkfedilinkarrow-up1·2 days agoWhy are the first two ifs in infix notation and the third isn’t?
It’s all that pesky risk of life imprisonment
I wrote a simple formula for it the other day actually
def shoot_masked_gunman(color, job): you = 2 if color == "white" else 0 masked_gunman = 100 if job == "cop" else 1 if you > masked_gunman : print("The justice system works!") else: print("Life without parole")
Why are the first two ifs in infix notation and the third isn’t?