Lol no idea cause i couldn't get a strait answer plus i like being mischievous person xDIt's both. It's technically a fruit by definition, and also a veg, since that is any eaten part of a plant. Why do you ask?
And... who cares? LOL
It's kind of like asking if a truck is a car. Just eat it! (Not the truck, the pepper.)
Peppers and tomatoes are fruit, but ketchup is a vegetable (according to Ronny Raygun and the USDA).
And pizza is a vegetable too according to the government.
And yeah peppers are a type of "berry" so they're a fruit.