2022-2023/1NSI/Evaluations/DS_2023-03-31/annexes/QCM_moyenne.py
Bertrand Benjamin cd31d3293c
All checks were successful
continuous-integration/drone/push Build is passing
Feat(NSI): fait le DS4
2023-03-30 18:43:16 +02:00

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)