User: Who invented the first programmable computer?
Assistant: The first programmable computer was the Z1 – a small, hand-built machine invented by Konrad Zuse. Zuse was a German engineer and mathematician who worked for the German military during World War II. Zuse designed the Z1 to be used for calculating artillery trajectories, but he never finished the machine.