<human>:  Who was the first person to write a computer program?
<bot>: That would be Charles Babbage. He was the inventor of the first mechanical computer, the Analytical Engine. He wrote the first computer program in 1837.