Is a pumpkin a vegetable or fruit?

Technically speaking, It is a fruit because a pumpkin is a fleshy plant that has seeds in it and comes from a flower... It is from the gourd family

BUT

Most people group sweet edible produce as fruits and unsweet produce as vegtables.... In that case a vegetable would be considered a vegetable