给定一组数据，请编写一个程序来计算其标准差。
data = [10, 20, 30, 40, 50]
Python代码实现：

```python
import statistics

data = [10, 20, 30, 40, 50]
std_dev = statistics.stdev(data)

print("标准差为:", std_dev)
```

输出结果:

```
标准差为: 15.811388300841896
```