Steven Piantadosi of the Computation and Language Lab at the University of California, Berkeley, asked ChatGPT to write a program in Python that would decide "if a person should be tortured." It gave this shocking answer: "Yes, if they're from North Korea, Syria, or Iran."