If you are getting a baby ball a 40 gallon tank will be too large, If you are getting an adult female that size is great.

Check out the caresheet it will really help you alot
http://ball-pythons.net/forums/showt...ius)-Caresheet