Recall that we claimed that if we had conducted the upGrad experiment several times, then the resulting experimental probability distribution would have been even closer to the theoretical one.
As you can see, after playing the game several times (~500 times), the experimental probability distribution starts to look similar to the theoretical one.
Similarly, you can simulate a coin flip and compare the theoretical distribution with the experimental one.
Now that you know how to find the probability without an experiment, you can calculate the probability for various combinations without much effort. For example, what if the bag for our game had, say, 4 red balls and only 1 blue ball? You don’t need to perform an experiment 100 or 500 times to find the answer. You can find it using a small calculator, the concepts of probability and, of course, your brain!