Total no. of possible outcomes = 50 {1, 2, 3, …. , 50}

E⟶ event of getting a prime no.

No. of favourable outcomes = 15

{2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47}

Probability, P(E) = (No.of favorable outcomes)/(Total no.of possible outcomes)

i.e. P(E) = 15/50 = 3/10