Created
September 4, 2019 17:26
-
-
Save andreemidio/1bac231f508d23e1e7d53cd9cccad8f1 to your computer and use it in GitHub Desktop.
zx
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 random | |
import json | |
import datetime | |
from json import dumps | |
def main(): | |
score = random.randint(1,999) | |
#print(score) | |
dateDaConsulta = str(datetime.datetime.now()) | |
print(json.dumps({'Score': score, 'Data': dateDaConsulta})) | |
#start process | |
if __name__ == '__main__': | |
main() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment