Davriellelouna@lemmy.worlddeleted by creator to pics@lemmy.world · edit-21 year agoU.S. Immigration and Customs Enforcement (ICE) waiting outside unmarked vanlemmy.worldimagemessage-square363linkfedilinkarrow-up11.57Karrow-down122
arrow-up11.55Karrow-down1imageU.S. Immigration and Customs Enforcement (ICE) waiting outside unmarked vanlemmy.worldDavriellelouna@lemmy.worlddeleted by creator to pics@lemmy.world · edit-21 year agomessage-square363linkfedilink
minus-squareCalipherJones@lemmy.worldlinkfedilinkEnglisharrow-up2·1 year agoIt’s all that pesky risk of life imprisonment
minus-squarePresidentCamacho@lemm.eelinkfedilinkarrow-up5arrow-down1·1 year 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·1 year 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?