20 grams is nothing for a snake that size. If they lost half their body weight I would be very concerned. A few grams here and there isn't anything to worry about. I've had two that lost half their body weight because they refused to eat for months. Both of those snakes have gained all their weight back and are doing just fine.