Thankfully, there are certain things you can plant that repel snakes from choosing your yard as a favourable place to reside. N.B. These plants do not guarantee prevention or safety from any snakes.
Use plants like marigolds, lemongrass, onions, mother-in-law's tongue, and garlic to naturally repel snakes from your yard ...