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.