Just get the 20L. A 40g is too big for a ball python, maybe a very huge adult female, but definitely not a baby.