Yes, they do. Snake's testicles are located inside the body. Testicles needs cold temperature to produce sperms. The reason that testicles are located inside the body is because snakes are cold blooded animals. They don't need cold temperature to produce sperm. Higher temperature reduces sperm count. In snakes, it would be no improvement if testicles were located outside.