0
What is the algorithm of random?
In programming languages (python) , you will see a module called random , When you execute the following code import random print(random.randint(10,100)) It prints different numbers each time But why this happens Each time the same module is imported and same function is called Anyone explain the algorithm behind it
1 Odpowiedź
+ 1
Python is open source and you can see any code of functions (not built-in)
here is the code to see the source code
https://code.sololearn.com/c2oQWTS6aq2M/?ref=app