Probability is calculated as the ratio of the number of favorable outcomes to the total number of possible outcomes.
In this case:
Number of favorable outcomes (getting a leafy vegetable) = 4 (since there are 4 leafy vegetable varieties)
Total number of possible outcomes (total varieties of vegetables) = 20
The probability of getting a leafy vegetable is:
P(leafy vegetable) = \fracNumber of leafy vegetable varietiesTotal number of vegetable varieties
P(leafy vegetable) = \frac420
Simplifying the fraction:
P(leafy vegetable) = \frac15
Converting the fraction to a decimal:
P(leafy vegetable) = 1 \div 5 = 0.2
Therefore, the probability of getting a leafy vegetable is 0.2.
0.2