More cards
Now let's use the deck of cards to calculate some conditional probabilities.
Cet exercice fait partie du cours
Foundations of Probability in Python
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Needed probabilities
P_first_Jack = ____/____
P_Jack_given_Jack = ____/____
# Joint probability calculation
P_two_Jacks = ____ * ____
print(P_two_Jacks)