10 per cent of the animals were snakes in the given question.
The Percentage is defined as representing any number with respect to the 100. It is denoted by the sign %.
Given that:-
The percentage will be calculated as:=
Snake percentage = ( 2 / 20 ) x 100 = 0.1 x 100 = 10 %
Therefore, 10 per cent of the animals were snakes in the given question.
To know more about percentages follow
https://brainly.com/question/24304697
#SPJ1