Created
March 15, 2024 08:18
-
-
Save hctilg/5e205bb5152e83436d9d70d8d51fd84a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from time import time | |
milliseconds = round(time() * (10 ** 3)) | |
rand = lambda _seed, _min, _max: (_seed % (_max - _min + 1)) + _min | |
random = rand(milliseconds, 0, 100) | |
print(random) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment