1. Learn
  2. /
  3. Courses
  4. /
  5. Foundations of Probability in Python

Connected

Exercise

Voters

Of the total population of three states X, Y, and Z, 43% are from state X, 25% are from state Y, and 32% are from state Z. A poll is taken and the result is the following:

  • 53% of the voters support John Doe in state X.
  • 67% of the voters support John Doe in state Y.
  • 32% of the voters support John Doe in state Z.

Given that a voter supports John Doe, answer the following questions.

Instructions 1/3

undefined XP
  • 1

    What is the probability that the voter lives in state X and supports John Doe?

  • 2

    What is the probability that the voter lives in state Z and does not support John Doe?

  • 3

    What is the total percentage of voters that support John Doe?