How do snakes poop?

my friends snake poop is brown but mine is yellow and wet REALLY SMELLS