I am learning to program. Here is an example in R of simulating the problem of drawing 1 ball from a bucket of 200 balls, and repeating this a total of 300 times. How many times does the same ball come up in succession? Obviously depends. Simulate the drawing of the balls Next search through…