fork download
  1. N=int(input(5))
  2. suma = 0
  3. for i in range (N):
  4. x = float(input())
  5. suma += x
  6. wynik = suma / N
  7. print(wynik)
Success #stdin #stdout 0.09s 14132KB
stdin
-6
-9
2
4
5
stdout
5-0.0