4 lines
88 B
Text
4 lines
88 B
Text
F average(x)
|
|
R sum(x) / Float(x.len)
|
|
|
|
print(average([0, 0, 3, 1, 4, 1, 5, 9, 0, 0]))
|