Pumpkin flowers can be either male or female. Male flowers have a slender stem and only pollen-producing stamens, while female flowers have a swollen stem and a small immature fruit at the base. The female flowers will eventually develop into pumpkins if successfully pollinated.