Uniformly Random Distribution Python Code