hey guys, I am right now doing another question. here it is:
Two dice are rolled, find the probability that the sum is
a) equal to 1
b) equal to 4
and my progress is this:
rollDice = random.randint(1, 6)
rollDice2 = random.randint(1, 6)
what should i edit and do next?
For this, you won't want to use any random values.
The question is asking for the definite probability of each roll, so you instead need to solve it iteratively. Have you gone over
for loops yet?