That really depends on your definition of "Computer"!
The first time the word "computer" was used it was referring to a human who performed calculations!!
The first mechanical computer was, created by Charles Babbage<span> in </span>1822, although it's not a computer like we know it. It was known as the Difference Engine and <span>tabulated </span>polynomial functions<span>. </span> The first programmable computer was the Z1, created between 1936 and 1938. <span>It was a binary electrically driven mechanical calculator with limited programmability.
The first electric programmable computer was the Collosus in 1943, created to help read encrypted German messages by British code breakers.
The first digital computer used for digital computation such as binary math and boolean logic, was the </span><span>Atanasoff-Berry Computer in 1937.
The first stored program computer was the EDSAC which work started ib in 1946, but only ran it's first programs in 1949. ran the first graphical computer game as well! The Manchester Mark 1 which the other poster mentioned was created around the same time (work began </span><span>1948) </span>and could also run stored programs, but the EDSAC was the first.