Random Number Generator Python Module Vs Functional Behavior