8 lines
156 B
Python
8 lines
156 B
Python
|
liste = [17, 12, 5, 18, 2, 7, 9, 15, 14, 20]
|
||
|
somme = 0
|
||
|
i = 0
|
||
|
while i < len(liste):
|
||
|
somme = somme + liste[i]
|
||
|
i = i + 1
|
||
|
resultat = somme / len(liste)
|