Actually, yes a snake will do tricks. There is even a book telling you how to make them do it. If I remember correctly, it's called
The guide to a happy healthy snake.
It that book, there is a chapter on teaching tricks to your snake.
Never tried it cause I find it really dumb.