More cards
Now let's use the deck of cards to calculate some conditional probabilities.
This exercise is part of the course
Foundations of Probability in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Needed probabilities
P_first_Jack = ____/____
P_Jack_given_Jack = ____/____
# Joint probability calculation
P_two_Jacks = ____ * ____
print(P_two_Jacks)