• PresidentCamacho@lemm.ee
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      edit-2
      10 hours ago

      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")