# coding=utf-8 ''' Created on 2016年3月10日 @author: ChenHao ''' import random count = 0 for i in range(10000): count += random.uniform(-1,1) print(count)