Bad quality snakes can have good quality offspring and vice versa. Just like how two odd looking humans can have a beautiful child. But the chances of having quality offspring isn't as high when the parents are of bad quality stock. You have better odds at the offspring gaining good quality genes if the parents are quality.