X2 on what everyone else said. It just depends on your needs. A terrarium with a PROPER set up or a tub with a proper set up are both fine for ball pythons (from what I have gathered). Although I have a glass tank and it took some tweaking to get consistent temperatures/humidity. But I can't use tubs because the ambient temperature in my room is way too low. Just depends on the situation :>