18 lines
270 B
Python
18 lines
270 B
Python
# ДИСПЕРСИЯ
|
|
list_data = [int(value) for value in input().split()]
|
|
n = len(list_data)
|
|
Sum = 0
|
|
for value in list_data:
|
|
Sum += value
|
|
SUm=Sum/n
|
|
Sum = 0
|
|
for value in list_data:
|
|
a = (value - SUm)**2
|
|
Sum += a
|
|
D = (Sum / (n - 1 ))
|
|
print (D)
|
|
|
|
|
|
|
|
|