Ironhack logo

Lab | Calculating Game of Chances

Introduction

In the lesson we have shown you how to use Python to calculate the probabilities and odds of the royal flush and straight flush in poker. In this lab you will calculate the probabilities of all other hands such as four of a kind, full house, flush, straight, and so on. We'll also provide you a mini lesson on how to apply statistical skills in real poker playing by calculating the pot odds and outs.

Getting Started

Open main.ipynb in Jupyter Notebook and work on the challenges.

Deliverables

  • main.ipynb with your responses.

Submission

Upon completion, add your version of main.ipynb to git. Then commit git and push your branch to the remote.

Resources

Learn How to Play Poker - Texas Hold 'Em (aka Texas Holdem)

How to play Texas Hold'em

Poker Odds for Dummies

Texas Hold'em Poker Odds Calculator