LoslegenKostenlos loslegen

More cards

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

Deck of cards

Diese Übung ist Teil des Kurses

Foundations of Probability in Python

Kurs anzeigen

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Needed probabilities
P_first_Jack = ____/____
P_Jack_given_Jack = ____/____

# Joint probability calculation
P_two_Jacks = ____ * ____

print(P_two_Jacks)
Code bearbeiten und ausführen