Co-habbing snakes is a bad idea
Snakes Are Solitary Animals
People tend to project human emotions and needs onto their pets. Some pets just can not be housed together yet their owners force them to live with others and compete constantly for optimum spaces and circumstances. This puts the snake in a constant state of stress and can lead to sick snakes. It can also lead to over bred females developing "hips" sometimes refered to as the "Baby Got Back" syndrome. This is caused by the female trying to store fat for the next clutch of eggs. Add that to another common problem, over feeding, and you have a snake in dire straights. An overweight female can become eggbound and die. As can an overly stressed female.
Formerly Co-habbed snakes
Co-habbing can result in canibalism
Another issue with co-habbing is canibalism. Many kinds of snakes when housed with others will eat their cage mates. This is not good. The most common snakes that this occurs with are king snakes, however I see a lot of people co-habbing Ball Pythons and Corn Snakes. Not a good idea, the BP could crush the corn, and the BP needs higher temperatures than a corn snake, so its just not a good idea to mix species. A big cause of canibalism is co-habbed animals being fed in the cage. What usually happens is that both animals go for the same feeder and the first to reach the other keeps swallowing and ends up eating it's cage mate. No one wants to find one pet swollen from swallowing the other. So please, please do not keep two snakes in one cage.