I hereby challenge everyone else to come up with a worse way. I can think of one or two :)
This can (maybe) be interesting with time python3 using-random.py to run multiple times to see how long each run takes to get some statistical information on the random() function... Maybe... I have it generate a random number from 0-127 for standard ascii tables but you can increase this range for longer runtime and possibly (maybe) more useful timing data.
I hereby challenge everyone else to come up with a worse way. I can think of one or two :)
This can (maybe) be interesting with
time python3 using-random.py
to run multiple times to see how long each run takes to get some statistical information on the random() function... Maybe... I have it generate a random number from 0-127 for standard ascii tables but you can increase this range for longer runtime and possibly (maybe) more useful timing data.