0

random number generation using Mersenne Twister

can anyone help in writing code for finding random number between 0 & 1 using Mersenne Twister.

30th Nov 2016, 7:06 AM
Yudhishther Seth
Yudhishther Seth - avatar
1 Odpowiedź
+ 1
I'm pretty sure the 'random' library uses the Mersenne Twister. Example: import random x = random.random() print(x)
1st Dec 2016, 10:47 AM
apertje
apertje - avatar