← Quiz: Probability and Bayes: all 15 questions
Quiz: Probability and Bayes · Question 12 of 15
What does this print? (code)
What does this print?
p_a, p_b, p_a_and_b = 0.69, 0.4, 0.36
print(round(p_a + p_b - p_a_and_b, 2), round(p_a_and_b / p_b, 2))
- A.1.09 0.36
- B.0.73 0.52
- C.0.73 0.9
- D.0.33 0.9
Answer & explanation
Correct answer: 0.73 0.9
Addition rule gives P(placed or internship); dividing by P(internship) gives P(placed | internship).
Can you get the rest right without peeking?
Take the timed Quiz: Probability and Bayes quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →