For terrestrial snakes, floor space is what matters. A 24"x24" enclosure isn't going to cut it for very long. Now a 3'x2' enclosure would be perfectly fine for the rest of the snake's life as it is 6sq. ft.
Forrest, have you seen some large female( or even male) ball pythons? I doubt that they would be comfortable in a 20gallon long tank, let alone be able to move or turn around. I have seen a large male in a 30 gallon tank and he just seemed very cramped and couldn't even stretch out all the way.