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

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

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

# Joint probability calculation
P_two_Jacks = ____ * ____

print(P_two_Jacks)
Code bearbeiten und ausführen