“Peter Peter Pumpkin Eater” is a well-known nursery rhyme in the USA and more recently in the UK.

This strange nursery rhyme about Peter keeping his wife in a pumpkin has been a longtime favorite in the U.S., dating back to 1825 in Boston. It was first published in “Mother Goose’s Quarto,” but its origins are unclear. Some researchers point to a 19th-century Scottish song that was later adapted in the U.S. to use pumpkins in the lyrics (pumpkins were not popular in Scotland).

Peter, Peter pumpkin eater,

Had a wife but couldn’t keep her;

He put her in a pumpkin shell

And there he kept her very well.

Peter, Peter pumpkin eater,

Had another and didn’t love her;

Peter learned to read and spell,

And then he loved her very well.

More Info: en.wikipedia.org