Question 4. Use simulate_several_key_strikes 1000 times, each time simulating the monkey striking 11 keys. Compute the proportion of times the monkey types "datascience", calling that proportion datascience_proportion. This is an estimate for the true probability that a monkey types "datascience".

Respuesta :

Answer:

Chech the explanation

Explanation:

In [16]:

# Your answer to this question might be written on more than a line.

datascience_trials = make_array()

for  i  in np.arange(1000):

            datascience_trials = np.append(datascience_trials, simulate_several_key_strikes(1))

datascience_proportion = np.count_nonzero(datascience_trials == 'datascience')/1000

datascience_proportion

Out [16]:

0.0

In [17]:

_ = ok.grade('q2_4')

````````````````````````````````````````````````````````````````````````````````````````````````````````

#Running tests