0

# random number generation using Mersenne Twister

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

1 Answer

+ 1

I'm pretty sure the 'random' library uses the Mersenne Twister. Example:
import random
x = random.random()
print(x)