Digital thinking tools for better decision making
Digital thinking tools for better decision making

Start this free course now. Just create an account and sign in. Enrol and complete the course for a free statement of participation or digital badge if available.

Free course

Digital thinking tools for better decision making

3.1 Taking a chance

Calculating the sizes of sets lets you reason about chances. For example, if a card is picked at random from the pack (that is, any card is as likely to picked as any other), what are the chances that it will be a picture card that is not a heart?

There are 9 picture cards that are not hearts, and 52 cards altogether. Therefore, the chances are 9/52.

For comparing different probabilities with one another, it is very useful to express them as percentages. Here is how to express 9/52 as a percentage using the Python shell.

First, work out 9/52.

Then multiply it by 100, to make it into a percentage.

Finally, round it. One decimal place seems sensible.

>>> 9/52


>>> _*100


>>> round(_, 1)


So, the chances are 17.3%.

Now try this for yourself in the next activity.

Activity 4 Quick on the draw

Timing: Allow about 10 minutes

A playing card is drawn at random from a full pack. Use the Python console to work out the chances that it will be:

  • A heart, but not a picture card.
  • Neither a heart nor a picture card.
  • Not a picture card.
Active content not displayed. This content requires JavaScript to be enabled.
Interactive feature not available in single page view (see it in standard view).


A heart, but not a picture card: (13 – 3)/52 = 10/52 = 19.2%.

Neither a heart nor a picture card: (52 – 22)/52 = 30/52 = 57.7%.

Not a picture card: (52 – 12)/52 = 40/52 = 76.9%.


Take your learning further

Making the decision to study can be a big step, which is why you'll want a trusted University. The Open University has 50 years’ experience delivering flexible learning and 170,000 students are studying with us right now. Take a look at all Open University courses.

If you are new to University-level study, we offer two introductory routes to our qualifications. You could either choose to start with an Access module, or a module which allows you to count your previous learning towards an Open University qualification. Read our guide on Where to take your learning next for more information.

Not ready for formal University study? Then browse over 1000 free courses on OpenLearn and sign up to our newsletter to hear about new free courses as they are released.

Every year, thousands of students decide to study with The Open University. With over 120 qualifications, we’ve got the right course for you.

Request an Open University prospectus371