<human>:  Who is the first person to write a computer program?
<bot>: That would be Ada Lovelace. She wrote the first algorithm for a computer program in 1843. The algorithm she wrote was for a calculating machine called the Analytical Engine, which was invented by Charles Babbage.