What it does

Generates Pseudo random numbers using python when given a seed to initiate the random number generation process

import time

def rand_val(x):

    random=int(time.time()*1000)

    random %= x

    return random

x=int(input())

print(rand_val(x))

Built With

Share this project:

Updates