generate functionFri, 11 Nov 2022

Write a python code to find the average number of trails to obtain all six sides of a dice at least once. For example, if you roll a 6-sided dice for the first time, you can get any of the 6 sides (1,2,3,4,5,6). Let us say you get 3. When you roll it for the second time, you get 4. Next few rolls you got 5,2,3,1,6. You can stop rolling since you got all six sides at least once. Now, if you conduct this experiment for 10000 times, what is the average number of throws

# Write your code here

Questions about programming?Chat with your personal AI assistant