Deck of cards
In this exercise, you'll use the following deck of cards to calculate some probabilities in each step:
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.
# Ace probability
P_Ace = ____/____
# Not Ace probability
P_not_Ace = 1 - ____
print(P_not_Ace)