Python Blackjack Simulator

To hit, or not to hit?

A S
Towards Data Science
5 min readMay 20, 2019

--

Background

A computer is an ideal tool to examine the interaction between statistics and strategy. This is because while strategic problems tend to be theoretical, they are also meant to have real world consequences, and these are reflected through statistical outcomes. In many cases, the statistical outcomes are too difficult to study by hand, so it is easier to do a ‘Monte Carlo simulation’, which is several random trials, to try and tease out patterns.

--

--

Maths graduate, former algorithmic trader, aspiring data scientist, played online poker.