A snake may be attracted to houses or yards if there is shelter and food that are unknowingly being provided by humans.more