Machine Learning, Data Science.
answer instead. To start off, let’s tackle one of the simplest domains there is — rolling a pair of dice. This is very straightforward to implement. %matplotlib inline import random def roll_die(): return random.randint(1, 6) def roll_dice(): return roll_die() + roll_die() print(roll_dice())