A snake will lunge at the player after being discovered, but will do only a very small amount of damage and will be harmless after the initial attack. After this they can be killed and will drop one of the varieties of eggs when killed.
Snakes are also found in Resident Evil 5, and are mostly found the same way, although at least one snake is roaming "free" near the TRICELL camp near the Oil Field. If a snake is coiled up (as is always the case when "freed" from a container) it will make one lunge attempt at the player. Rarely, the snakes will drop a Rotten Egg. These snakes appear light brown in color.
A snake also appears in Resident Evil 6, and is found in Leon Chapter 3. If the player opens the coffin on the right in the first hallway, the snake will jump out and attack the player in the same way as before. Killing the snake gives no items.