Looks like a King Snake to me. Too bad you killed it. They’re very beneficial animals. They eat mice and rats and such.
Had one in the rock wall in back yard for about six years. Creepy at first, until I looked it up. He was actually pretty tame and got used to us. He sunned himself in warm weather starting around 10AM every day.
defenately not a king snake. i killed one yesterday and it was a moccasin.