
from random import *
def simulation():
return int(random() + 0.3)
def fonction():
c = 0
for k in range(100):
if simulation() == 1:
c = c + 1
return c
Nos manuels sont collaboratifs, n'hésitez pas à nous en faire part.
j'ai une idée !
Oups, une coquille