^ this is my code, the computation are probably wrong but the randomization should be correct. Thanks :)

Do you actually need any randomisation?

How about just listing all the possible combinations of 2 dice and counting how many add up to six.

How about just listing all the possible combinations of 2 dice and counting how many add up to six.

Topic archived. No new replies allowed.