Codehs 4.3.5 Rolling Dice Answers Direct

The 4.3.5 Rolling Dice assignment on CodeHS requires you to simulate the rolling of two six-sided dice. The goal is to calculate the probability of rolling certain numbers with two dice. The problem is divided into several parts, each with its own set of questions and requirements.

Unlike many other Python functions, randint is inclusive. If you put (1, 6), it can actually roll a 6. codehs 4.3.5 rolling dice answers

Running this code, we get an output similar to: we get an output similar to: