As per one book I read.. it depends on the type of snakes..their skin like shiny etc..

Furthermore it depends on the type of food we eat before going to bed as well..