1. Learn
  2. /
  3. Courses
  4. /
  5. Foundations of Probability in Python

Connected

Exercise

Deck of cards

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

Deck of cards

Instructions 1/4

undefined XP
  • 1

    Calculate the probability of not getting an Ace.

  • 2

    Calculate the probability of getting a red card.

  • 3

    Calculate the probability of getting a Jack or a spade.

  • 4

    Calculate the probability of getting a King or a Queen.