But they'll never hunt a snake. They have an inbuilt terror of them. This is why they jump at cucumbers and hiss (trying to scare others with snake sounds)
Snakes are not a preferred target of cats but they will take them out.
From personal experience. Came home on a hot summer day. Let the cat loose and it immediately began to act unusual and drew our attention to a snake that had made it into the house. "Petals" ended the snake in short order without much fanfare.