Standard Deviation

Easy
statistics Two Sigma Citadel

Compute the population standard deviation of a list of numbers.

Example

std_dev([2, 4, 4, 4, 5, 5, 7, 9])
# => 2.0

Test Cases

Python Editor

Output

Click "Run" to see results...