It depends on what you mean by "peeing".
When you urinate, you are accomplishing several tasks at once. You are eliminating excess water from your body along with certain waste products. One of the primary waste products passed in the urine are nitrogenous wastes (=nitrogen containing wastes). Those waste products build up in the body and are excreted by mammals as urea in the urine.
Reptiles and birds (which hatch from terrestrial eggs) produce a different form of nitrogenous waste product called uric acid. Uric acid is a white insoluble material. The white pasty material that snakes excrete, often with feces, is this uric acid. It dries out to a hard white material. So the excretion of this white material is equivalent to your production of urine.
So yes, snakes "pee". But when they do, they excrete a pasty uric acid, not a watery solution of urea like you do.
-----
Chris Harrison
...he was beginning to realize he was the creature of a god that appreciated the discomfort of his worshippers - W. Somerset Maugham