I dunno, I think pineapple and beet are both arguably correct answers. Pineapple and pumpkin are both fruiting bodies of the plant, but so are cucumber, zucchini, green pepper, peas, string beans, etc. etc. It doesn't make sense to call these all fruits. If you wouldn't put it in a fruit salad, it's a vegetable.