13 lines
336 B
Python
13 lines
336 B
Python
|
# формула среднего значения
|
||
|
def find_average(x):
|
||
|
return sum(x) / len(x)
|
||
|
|
||
|
# формула среднего значения для заданного набора значений
|
||
|
a = [int(item) for item in input().split()]
|
||
|
def find_average(a):
|
||
|
return sum(a) / len(a)
|
||
|
print (find_average(a))
|
||
|
|
||
|
|
||
|
|
||
|
|