While not their primary prey, they will opportunistically eat snakes if they encounter them. Hyenas are scavengers and will consume almost anything, including carrion, bones, and even venomous snakes.
Here's why they might eat snakes:
* Availability: If a snake is readily available, a hyena might take the opportunity to eat it, especially if it's already dead or injured.
* Nutritional value: Snakes can provide some protein and other nutrients to a hyena's diet.
* Variety: Hyenas are opportunistic feeders and will eat a wide variety of food, so snakes are simply part of their diverse diet.
However, hyenas are not specialized snake hunters, and it's not a common part of their diet.