Skip to main content
HomeCode-alongsData Analysis

Priceless Probability Puzzles in Python

Use Python to tackle some logic and probability puzzles
Feb 2023
Code along with us onCode Along

View Slides

To celebrate World Logic Day, we'll use Python to tackle some logic and probability puzzles. It's a fun way to practice getting from an abstract problem to a concrete solution using data and code.

Learning by doing is encouraged, and you can follow along using DataLab. All you need is a DataCamp account. Note that members of some enterprise groups do not yet have access to use DataLab. Create a free DataCamp account with your personal email address to follow along.

We recommend that you have taken the following course before attending:

Additional resources

Key takeaways

  • How to approach different types of logic problems with coding.

  • Build functions to tacke challenges with different inputs.

  • Simulate random walks in Python.



Poker Probability and Statistics with Python

Tackle probability and statistics in Python: learn more about combinations and permutations, dependent and independent events, and expected value.
Daniel Poston's photo

Daniel Poston

29 min


Probability Distributions in Python Tutorial

In this tutorial, you'll learn about and how to code in Python the probability distributions commonly referenced in machine learning literature.
DataCamp Team's photo

DataCamp Team

15 min


Demystifying Crucial Statistics in Python

Learn about the basic statistics required for Data Science and Machine Learning in Python.
Sayak Paul's photo

Sayak Paul

25 min


Time Series Analysis in Python

Dig into financial time series in Python.
Justin Saddlemyer's photo

Justin Saddlemyer


Exploratory Data Analysis in Python for Absolute Beginners

In this live codealong, you will learn the basics of exploring new datasets
Filip Schouwenaars's photo

Filip Schouwenaars


Exploring World Cup Data in Python

Learn to use a combination of SQL & Python to import, process, and analyze data
Filip Schouwenaars's photo

Filip Schouwenaars

See MoreSee More