1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Foundations of Probability in Python

Connected

अभ्यास

Deck of cards

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

Deck of cards

निर्देश 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.