This is getting beyond what
can sensibly be typed into the Python Shell, so we will use the IDLE Editor.
You can either type in the examples from the text here or download all the Python
examples used in the book from the book’s website (www.raspberrypibook.com). Each
programming example has a number. Thus, this program will be contained in the file
3_l_dice.py, which can be loaded into the IDLE Editor.