Warning! It seems that you are using Dodona within another webpage, so not everything may work properly. Let your teacher know so that he can solve the problem by adjusting a setting in the learning environment. In the meantime, you can click
this link to open Dodona in a new window.
Warning! The page was not fully loaded, probably because of a network issue. It could be that not all functionalities work as expected. Please try reloading the page.
Winsor_gemiddelde, Winsor_k_gemiddelde
# vul de type hinting zelf aan.
def Winsor_gemiddelde(getallen):
# TO DO
return 0
def Winsor_k_gemiddelde(getallen, k):
# TO DO
return 0
# Zet onderstaande regels uit commentaar om lokaal te testen
# getallen = [1, 2, 3, 3, 4, 5, 6, 6, 6, 7, 7, 8, 9, 10, 18, 21]
# print(Winsor_gemiddelde(getallen))
# print(Winsor_k_gemiddelde(getallen, 2))
# print(Winsor_k_gemiddelde(getallen, 7))