It's fine for a baby but you might want to go bigger when it gets to about 3ft. BP's do not like nor do they need a lot of space. Even that 24" exo you are going to want to clutter it up a bit to help make a baby bp feel more secure. Also make sure you get a thermostat for the UTH as they can get upwards of 130 degrees which can and will cook your snake.
They say you can house a bp for it's entire life in a 20g long tank..seems a little small when they get to fullsize but I'll cross that bridge when I get there.