If they are in separate rooms!!! We just moved and have rats and snakes in the basement. Our snakes always seem to be hungry. They do know the difference, it's the babies that don't