Most snakes will eat while in shed. Have you been offering food for the last 3 weeks?

Sounds like your snake has some stuck shed. If the humidity is correct, they should shed in one piece. So if there is any stuck on, you will have to soak the snake in shallow room temp water and peel it off.