I agree that a 5' ball python wouldn't be comfortable (to say the least) in a 20g tank, but most corn caresheets say it's fine. Corns are pretty skinny snakes.