Adding or removing images is disabled during broadcasting. You'll be able to update images again once the broadcast session is over.

Images listed here are available to use in your code in this trinket. Click the Image Library button to include more or upload new images.

You flip a coin 10 times. What is the probability you get heads exactly 8 times?  The n or total trials = 10. The probability of success = 0.5. The number of successes = 8

nCr ( prob success)^(number of successes) *(1-prob Success)^(n - successes) = probability
Let's calculate the answer you need for your problem:

n (total trials)?: