monte_carlo_gezin
Sign in to test your solution.
import random
from random import randint
#Programmeer hieronder je code
def kinderen_maken():
return gezin
frequentie = 0
aantal_experimenten = 1000000
# vul onderstaande formulering aan met de kans in procent:
print(f"De kans dat een meisje geboren wordt in het gezin is { }%")
You can submit as many times as you like. Only your latest submission will be taken into account.
Sign in to test your solution.
Python sandbox
This window allows you to run Python code without installing a thing. The code you write here is not automatically submitted to Dodona.
Test case being debugged