What is the difference between random.normalvariate() and random.gauss() in python?
This is an interesting question. In general, the best way to know the difference between two python implementations is to inspect the code yourself: import inspect, random str_gauss = inspect.getsource(random.gauss) str_nv=inspect.getsource(random.normalvariate) and then you print each of the strings to see how the sources differ. A quick look at the codes show that not only … Read more