Get startedGet started for free

More cards

Now let's use the deck of cards to calculate some conditional probabilities.

Deck of cards

This exercise is part of the course

Foundations of Probability in Python

View Course

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)
Edit and Run Code