CommencerCommencer gratuitement

Deck of cards

In this exercise, you'll use the following deck of cards to calculate some probabilities in each step:

Deck of cards

Cet exercice fait partie du cours

Foundations of Probability in Python

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Ace probability
P_Ace = ____/____

# Not Ace probability
P_not_Ace = 1 - ____

print(P_not_Ace)
Modifier et exécuter le code