How big is the snake now? If it is still a baby then a 20 gallon tank could be make it feel less secure and lead to fasting.
I still havent bought it bt i want to set up the tub before hes here i want to use a tub not a tank because theyre easier to maintain from wat i heard so far