@audrey said in Module 0 Week 3 Challenge Q20:
@fantasticcrow Yay, I'm glad that helped!! And as for counting versus probability, it all depends on what the question asked for. To give a simple example:
How many ways are there to make a three digit number where all the digits are even? [This would be a counting problem, because you want to count how many 3-dig #'s there are where all the digits are even]
Vs.
If you choose any three digit number at random, what is the probability that all its digits are even? [This would be a probability problem, because you're asked what the chance of something happening is-- so in this case, you would take the answer from #1, and divide by how many three digit numbers there are!]
In the context of this problem, we can't use simple counting because not all of the options are equally likely to be chosen. In other words, you should use counting when all the options are equally likely ("weighted")-- for example, choosing a three digit number at random. But in this case, they're not, so we have to actually multiply out probabilities, if that made sense.
Very helpful. Thank you!