👤

Sagot :

Réponse : Bonjour,

1) [tex]\displaystyle p=\frac{10}{10+n}[/tex]

2) def SIMUL(N,n)

L=[]

for i in range(1,11):

r=random.randint(1,10+n)

p=11

if(r < p):

L.append(R)

else:

L.append(B)

return L

© 2024 IDNLearn. All rights reserved.