Im being stupid today.

I dont understand the riddle and the answer given.

There is a plate with 7 pieces of pie on it. There are 7 dwarfs. After each dwarf takes a piece there is one piece left.

Explain it in more detail please Ringo?