To calculate the speed of the snake, you can use the formula:
Speed = Distance / Time
In this case, the snake moved 20 meters in 5 seconds. Plugging these values into the formula:
Speed = 20 meters / 5 seconds = 4 meters per second
Therefore, the speed of the snake is 4 meters per second.