Created
April 17, 2022 16:59
-
-
Save KarimullinArthur/a0793bbe8f814ccff022045803edee1e to your computer and use it in GitHub Desktop.
Ну работает же, П.С little рандомер
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
import time | |
def random(): | |
getTime = time.time() | |
randInt = getTime % 1 | |
randInt = str(randInt) | |
randInt = randInt[-1] | |
randInt = int(randInt) | |
return randInt | |
print(random()) | |
print(random()) | |
print(random()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment