Get your own website
Python
JavaScript
Java
C++
 
Python result:
JavaScript result:
Java result:
CPP result:
Doing 1000 experiments
Average number of rolls to get 6 is 5.954
Doing 1000 experiments
Average number of rolls to get 6 is 5.954
Doing 1000 experiments
Average number of rolls to get 6 is 5.954
Doing 1000 experiments
Average number of rolls to get 6 is 5.954