 to exclude snakes from our yards and gardens but we can make the area less inviting to snakes by what he calls habitat modification basically find out what snakes like and then get rid of it for example you know lots of snakes like to live under rocks