Get startedGet started for free

Deck of cards

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

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.

# Ace probability
P_Ace = ____/____

# Not Ace probability
P_not_Ace = 1 - ____

print(P_not_Ace)
Edit and Run Code